41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
var e = require("./common/vendor.js");
|
|
require("./constant/index.js");
|
|
// var t = require("./utils/ald-stat.js"), // Removed ald-stat import
|
|
// n = require("./utils/mtj-wx-sdk.js"), // Removed mtj-wx-sdk import
|
|
i = require("./utils/util.js");
|
|
Math;
|
|
var a = {
|
|
__name: "App",
|
|
setup: function () {
|
|
return (
|
|
e.onLaunch(function () {
|
|
i.checkForUpdate(),
|
|
setTimeout(function () {
|
|
var t = e.index.getStorageSync("openId");
|
|
if (t) {
|
|
// e.wx$1.aldstat.sendOpenid(t); // Removed ald-stat usage
|
|
e.wx$1.uma.setOpenid(t);
|
|
}
|
|
}, 5e3);
|
|
}),
|
|
function () {
|
|
return {};
|
|
}
|
|
);
|
|
},
|
|
};
|
|
function r() {
|
|
var t = e.createSSRApp(a);
|
|
return t.use(e.createPinia()), { app: t, Pinia: e.Pinia };
|
|
}
|
|
// t.aldInit(), // Removed ald-stat initialization
|
|
// n.mtjInit({}), // Removed mtj-wx-sdk initialization
|
|
e.lib.init({
|
|
appKey: "65793213a7208a5af185764c",
|
|
useOpenid: !0,
|
|
autoGetOpenid: !1,
|
|
debug: !0,
|
|
}),
|
|
r().app.mount("#app"),
|
|
(exports.createApp = r); |