This commit is contained in:
pengxiaolong
2025-07-18 13:06:06 +08:00
parent 6dec463705
commit 31527ba8a6
1853 changed files with 65500 additions and 98288 deletions

View File

@@ -25,6 +25,7 @@ import request from "../../components/request.js";
import postFile from "../../components/postFile.js";
import generateFileName from "../../components/generateFileName.js";
import { useCounterStore } from "@/stores/counter";
import { goEasylogin } from "../../components/goEasyTool/tool.js";
const counter = useCounterStore();
export default {
@@ -48,12 +49,6 @@ export default {
this.id = res.data.id;
},
});
uni.getStorage({
key: "userSig",
success: (res) => {
this.userSig = res.data;
},
});
uni.getStorage({
key: "lastPage",
success: (res) => {
@@ -107,7 +102,6 @@ export default {
headerIcon: this.Filename,
nickName: this.name,
code,
usersig: this.userSig.userSig,
},
userInfo: false,
}).then((res) => {
@@ -117,6 +111,7 @@ export default {
icon: "success",
});
uni.setStorageSync("userinfo", res.data.info);
goEasylogin(this.$goeasy,String(res.data.info.id),this.picture,this.name);
counter.$patch({ myitem: res.data.info });
uni.hideLoading();
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页