优化
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user