Files
tk-mini-program/unpackage/dist/dev/mp-weixin/app.js
pengxiaolong 6ca66f45d4 首页列表
2025-05-22 16:21:07 +08:00

70 lines
1.7 KiB
JavaScript

"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const common_vendor = require("./common/vendor.js");
if (!Math) {
"./pages/Home/Home.js";
"./pages/Mine/Mine.js";
"./pages/index/index.js";
"./pages/login/login.js";
"./pages/UserInformation/UserInformation.js";
"./pages/Setting/Setting.js";
"./pages/NewAddedPk/NewAddedPk.js";
"./pages/pkDetail/pkDetail.js";
"./TUIKit/components/TUIConversation/index.js";
"./TUIKit/components/TUIChat/index.js";
"./TUIKit/components/TUIChat/video-play.js";
"./TUIKit/components/TUIChat/web-view.js";
"./TUIKit/components/TUIContact/index.js";
"./TUIKit/components/TUIGroup/index.js";
"./TUIKit/components/TUISearch/index2.js";
"./TUIKit/components/TUIConversation/conversation-list/index2.js";
}
const _sfc_main = {
data() {
return {
info: {},
userSig: "",
chatInfo: {}
};
},
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 {
$global: {
lastPage: null
}
};
}
};
function createApp() {
const app = common_vendor.createSSRApp(_sfc_main);
return {
app
};
}
createApp().app.mount("#app");
exports.createApp = createApp;
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map