heyujie
2022-01-27 67b9fbbe935fb47c3b3c7434a1be7b25e72d00fb
src/pages/settings/views/generalSettings.vue
@@ -380,7 +380,7 @@
      }
    });
    const url = this.curUser.backgroundpic;
    this.activeIcons = this.curUser.useIconType
    this.activeIcons = this.curUser.useIconType-1
    if (url) {
      // const arr = url.split("/");
      this.activeBg = this.tableBGList.findIndex((x) => {
@@ -425,6 +425,7 @@
      }).then((res) => {
        if (res.success) {
          sessionStorage.setItem("userInfo", JSON.stringify(res.data))
          debugger
          this.$message.success(res.msg);
        }
      });
@@ -510,6 +511,7 @@
        if (res.success) {
          window.parent.postMessage({ msg: "AppUpdate" }, "*");
          sessionStorage.setItem("userInfo", JSON.stringify(res.data))
          debugger
          this.$message.success(res.msg);
        }
      });