zengh
2021-11-15 771c00e74b4ca8c62170e848fc315b9e2760c5ae
默认头像修改
2 files modified
4 ■■■■ changed files
src/components/map/main.vue 2 ●●● patch | view | raw | blame | history
src/store/modules/user.js 2 ●●● 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 })