chengdu
yujialong 4 years ago
parent cd218d1e88
commit 91ef762c81
  1. 2
      src/components/page/Login.vue
  2. 2
      src/components/page/PersonalCenter.vue

@ -52,7 +52,7 @@ export default {
}, },
methods:{ methods:{
toClient(){ 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(){ toMang(){
location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdserver/#/login' : 'http://122.9.154.146/kdserver/#/login' location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdserver/#/login' : 'http://122.9.154.146/kdserver/#/login'

@ -875,7 +875,7 @@ export default {
personalFileEntities personalFileEntities
} }
this.$put(this.api.userinfoUpdate,data).then(res => { this.$put(this.api.userinfoUpdate,data).then(res => {
bus.$emit('updateAccount',personalInformation.account) bus.$emit('updateAccount',personalInformation.userName)
this.$message.success('提交成功!') this.$message.success('提交成功!')
}).catch(res => {}); }).catch(res => {});
}, },

Loading…
Cancel
Save