| src/components/map/main.vue | ●●●●● patch | view | raw | blame | history | |
| src/store/modules/user.js | ●●●●● patch | view | raw | blame | history |
src/components/map/main.vue
@@ -93,7 +93,7 @@ }, mounted() { //建立地图 this.createmap(1); //1为本地 this.createmap(2); //1为本地 // this.createmap(); //空或其他是外网 this.parentParameter(); src/store/modules/user.js
@@ -239,7 +239,7 @@ }, SET_USER_INFO: (state, userInfo) => { if (validatenull(userInfo.avatar)) { userInfo.avatar = "/img/bg/img-logo.png"; userInfo.avatar = "http://47.49.36.190:9000/zhba/upload/picture/mrtx.png\n"; } state.userInfo = userInfo; setStore({ name: 'userInfo', content: state.userInfo })