ZZJ
2022-01-28 ccee5f79043769c13d304343a40c46a3de4e9d17
src/pages/settings/views/generalSettings.vue
@@ -381,8 +381,10 @@
    });
    const url = this.curUser.backgroundpic;
    this.activeIcons = this.curUser.useIconType-1
    this.universalColor = this.colorList.findIndex((x) => {
      return x.color == localStorage.getItem("--colorCard")
    })
    if (url) {
      // const arr = url.split("/");
      this.activeBg = this.tableBGList.findIndex((x) => {
        return x.url == url;
      });
@@ -425,6 +427,7 @@
      }).then((res) => {
        if (res.success) {
          sessionStorage.setItem("userInfo", JSON.stringify(res.data))
          debugger
          this.$message.success(res.msg);
        }
      });
@@ -510,6 +513,7 @@
        if (res.success) {
          window.parent.postMessage({ msg: "AppUpdate" }, "*");
          sessionStorage.setItem("userInfo", JSON.stringify(res.data))
          debugger
          this.$message.success(res.msg);
        }
      });