| | |
| | | });
|
| | | 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;
|
| | | });
|
| | |
| | | }).then((res) => {
|
| | | if (res.success) {
|
| | | sessionStorage.setItem("userInfo", JSON.stringify(res.data))
|
| | | debugger
|
| | | this.$message.success(res.msg);
|
| | | }
|
| | | });
|
| | |
| | | if (res.success) {
|
| | | window.parent.postMessage({ msg: "AppUpdate" }, "*");
|
| | | sessionStorage.setItem("userInfo", JSON.stringify(res.data))
|
| | | debugger
|
| | | this.$message.success(res.msg);
|
| | | }
|
| | | });
|