优化页面
This commit is contained in:
21
unpackage/dist/dev/mp-weixin/app.js
vendored
21
unpackage/dist/dev/mp-weixin/app.js
vendored
@@ -28,27 +28,6 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
onLoad(option) {
|
||||
common_vendor.index.getStorage({
|
||||
key: "userinfo",
|
||||
success: (res) => {
|
||||
this.info = res.data;
|
||||
}
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "userSig",
|
||||
success: (res) => {
|
||||
this.userSig = res.data;
|
||||
}
|
||||
});
|
||||
common_vendor.index.getStorage({
|
||||
key: "chatInfo",
|
||||
success: (res) => {
|
||||
this.chatInfo = res.data;
|
||||
}
|
||||
});
|
||||
if (this.userSig) {
|
||||
TUIlogin(this.chatInfo.appId, this.info.userChatId, this.userSig);
|
||||
}
|
||||
},
|
||||
provide() {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user