heyujie
2021-12-10 1e3e48e3deacb44e9de1097dbf8d6c42aac71835
src/pages/settings/views/generalSettings.vue
@@ -380,6 +380,7 @@
      }
    });
    const url = this.curUser.backgroundpic;
    this.activeIcons = this.curUser.useIconType-1
    if (url) {
      // const arr = url.split("/");
      this.activeBg = this.tableBGList.findIndex((x) => {
@@ -502,6 +503,16 @@
    },
    selectIcons(i) {
      this.activeIcons = i;
      updateUser({
        id: this.curUser.id,
        iconType: i+1,
      }).then((res) => {
        if (res.success) {
          window.parent.postMessage({ msg: "AppUpdate" }, "*");
          sessionStorage.setItem("userInfo", JSON.stringify(res.data))
          this.$message.success(res.msg);
        }
      });
    },
    removeSound(item) {
      const h = this.$createElement;