接口
This commit is contained in:
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
const util_index = require("./util/index.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/my/index.js";
|
||||
"./pages/deposit/index.js";
|
||||
"./pages/order/index.js";
|
||||
"./pages/feedback/index.js";
|
||||
"./pages/help/index.js";
|
||||
"./pages/device/detail.js";
|
||||
"./pages/serve/bagCheck/index.js";
|
||||
"./pages/device/return.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
onLaunch: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:10", "App Launch");
|
||||
},
|
||||
onShow: async function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:14", "App Show");
|
||||
await this.autoLogin();
|
||||
},
|
||||
onHide: function() {
|
||||
common_vendor.index.__f__("log", "at App.vue:19", "App Hide");
|
||||
},
|
||||
methods: {
|
||||
async autoLogin() {
|
||||
try {
|
||||
const loginResult = await util_index.wxLogin();
|
||||
common_vendor.index.__f__("log", "at App.vue:28", "自动登录成功:", loginResult);
|
||||
} catch (error) {
|
||||
common_vendor.index.__f__("error", "at App.vue:31", "自动登录失败:", error);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
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
|
||||
Reference in New Issue
Block a user