优化
This commit is contained in:
@@ -4,6 +4,7 @@ const components_request = require("../../components/request.js");
|
||||
const components_postFile = require("../../components/postFile.js");
|
||||
const components_generateFileName = require("../../components/generateFileName.js");
|
||||
const stores_counter = require("../../stores/counter.js");
|
||||
const components_goEasyTool_tool = require("../../components/goEasyTool/tool.js");
|
||||
const counter = stores_counter.useCounterStore();
|
||||
const _sfc_main = {
|
||||
inject: ["$global"],
|
||||
@@ -26,12 +27,6 @@ const _sfc_main = {
|
||||
this.id = res.data.id;
|
||||
}
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "userSig",
|
||||
success: (res) => {
|
||||
this.userSig = res.data;
|
||||
}
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "lastPage",
|
||||
success: (res) => {
|
||||
@@ -81,8 +76,7 @@ const _sfc_main = {
|
||||
id: this.id,
|
||||
headerIcon: this.Filename,
|
||||
nickName: this.name,
|
||||
code,
|
||||
usersig: this.userSig.userSig
|
||||
code
|
||||
},
|
||||
userInfo: false
|
||||
}).then((res) => {
|
||||
@@ -92,6 +86,7 @@ const _sfc_main = {
|
||||
icon: "success"
|
||||
});
|
||||
common_vendor.index.setStorageSync("userinfo", res.data.info);
|
||||
components_goEasyTool_tool.goEasylogin(this.$goeasy, String(res.data.info.id), this.picture, this.name);
|
||||
counter.$patch({ myitem: res.data.info });
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.reLaunch({
|
||||
@@ -105,7 +100,7 @@ const _sfc_main = {
|
||||
}
|
||||
});
|
||||
}).catch((err) => {
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:136", err);
|
||||
common_vendor.index.__f__("log", "at pages/UserInformation/UserInformation.vue:131", err);
|
||||
});
|
||||
} else {
|
||||
common_vendor.index.showToast({
|
||||
@@ -119,11 +114,11 @@ const _sfc_main = {
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o$1((...args) => $options.Return && $options.Return(...args)),
|
||||
a: common_vendor.o((...args) => $options.Return && $options.Return(...args)),
|
||||
b: $data.userinfo,
|
||||
c: common_vendor.o$1((...args) => $options.Userinfo && $options.Userinfo(...args)),
|
||||
d: common_vendor.o$1((...args) => $options.inputName && $options.inputName(...args)),
|
||||
e: common_vendor.o$1((...args) => $options.wxLogin && $options.wxLogin(...args))
|
||||
c: common_vendor.o((...args) => $options.Userinfo && $options.Userinfo(...args)),
|
||||
d: common_vendor.o((...args) => $options.inputName && $options.inputName(...args)),
|
||||
e: common_vendor.o((...args) => $options.wxLogin && $options.wxLogin(...args))
|
||||
};
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-35d730ef"]]);
|
||||
|
||||
Reference in New Issue
Block a user