This commit is contained in:
pengxiaolong
2025-07-21 22:10:59 +08:00
parent 31527ba8a6
commit 7116e57fc3
157 changed files with 2793 additions and 405 deletions

View File

@@ -19,6 +19,7 @@
import request from "../../components/request.js";
import postFile from "../../components/postFile.js";
import generateFileName from "../../components/generateFileName.js";
import { goEasylogin,goEasylogout } from "../../components/goEasyTool/tool.js";
export default {
inject: ["$global"],
@@ -64,6 +65,7 @@ export default {
},
// 微信登录
wxLogin(e) {
goEasylogout(this.$goeasy);
uni.showLoading({
title: "修改中...",
mask: true,
@@ -91,6 +93,7 @@ export default {
icon: "success",
});
uni.setStorageSync("userinfo", ress.data.info);
goEasylogin(this.$goeasy,String(ress.data.info.id),ress.data.info.headerIcon,ress.data.info.nickName);
uni.hideLoading();
//```````````````````````````````````````````````````````````````````````登录成功后跳转回原页面 或 首页
uni.navigateBack({