提交个人中心内容修改,首页名称展示
This commit is contained in:
@ -84,6 +84,12 @@ export default {
|
||||
},
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.updateTitle()
|
||||
},
|
||||
onShow() {
|
||||
this.updateTitle()
|
||||
},
|
||||
computed: {
|
||||
language(){
|
||||
return this.vuex_language
|
||||
@ -104,6 +110,11 @@ export default {
|
||||
this.$refs.uForm.setRules(this.rules);
|
||||
},
|
||||
methods: {
|
||||
updateTitle() {
|
||||
uni.setNavigationBarTitle({
|
||||
title: this.$t('homePage.mine.accountSec')
|
||||
});
|
||||
},
|
||||
submit() {
|
||||
const self = this
|
||||
this.$refs.uForm.validate((valid) => {
|
||||
|
||||
Reference in New Issue
Block a user