diff --git a/src/components/page/Login.vue b/src/components/page/Login.vue index 3cc5ee6..b59bf42 100644 --- a/src/components/page/Login.vue +++ b/src/components/page/Login.vue @@ -52,7 +52,7 @@ export default { }, methods:{ toClient(){ - location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/login' : 'http://122.9.154.146/kdclient/#/clientLogin' + location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/clientLogin' : 'http://122.9.154.146/kdclient/#/clientLogin' }, toMang(){ location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdserver/#/login' : 'http://122.9.154.146/kdserver/#/login' diff --git a/src/components/page/PersonalCenter.vue b/src/components/page/PersonalCenter.vue index ab43b11..0ea04cd 100644 --- a/src/components/page/PersonalCenter.vue +++ b/src/components/page/PersonalCenter.vue @@ -875,7 +875,7 @@ export default { personalFileEntities } this.$put(this.api.userinfoUpdate,data).then(res => { - bus.$emit('updateAccount',personalInformation.account) + bus.$emit('updateAccount',personalInformation.userName) this.$message.success('提交成功!') }).catch(res => {}); },