diff --git a/pageMy/setUserBase/index.vue b/pageMy/setUserBase/index.vue index 5033954..0721aec 100644 --- a/pageMy/setUserBase/index.vue +++ b/pageMy/setUserBase/index.vue @@ -121,7 +121,7 @@ - {{ authInfo.nation }} + {{subIdentity ? subIdentity : authInfo.nation }} @@ -340,6 +340,7 @@ this.realIndex = val.detail.value; uni.hideLoading(); this.$api.msg('保存成功') + console.log(this.authInfo) }).catch(() => { uni.hideLoading(); }) diff --git a/vue.config.js b/vue.config.js index 178dbe6..5771477 100644 --- a/vue.config.js +++ b/vue.config.js @@ -3,7 +3,7 @@ module.exports = { port: 1887, proxy: { '/api': { - target: 'http://192.168.1.105:8000', + target: 'http://10.165.0.173:8000', ws: true, pathRewrite: { '^/api': '/'