You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
1.1 KiB
22 lines
1.1 KiB
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const mp_ecard_sdk_constants_log = require("../constants/log.js");
|
|
const mp_ecard_sdk_utils_index = require("../utils/index.js");
|
|
const index = { data() {
|
|
return { token: "" };
|
|
}, onLoad(t) {
|
|
var { token: t, needJumpPage: e } = t;
|
|
this.token = t, common_vendor.index.reportLogToEid({ token: t, event: mp_ecard_sdk_constants_log.Log.getIntoIndexPage, errMsg: `进入配置首页,token:${t},needJumpPage:` + e }), mp_ecard_sdk_utils_index.reportStat({ module: "StartIndex", action: "enter" });
|
|
}, onUnload() {
|
|
mp_ecard_sdk_utils_index.reportStat({ module: "StartIndex", action: "leave" });
|
|
}, methods: { handleStart() {
|
|
mp_ecard_sdk_utils_index.navigateToEid(this.token);
|
|
} } };
|
|
const _sfc_main = index;
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.o((...args) => _ctx.handleStart && _ctx.handleStart(...args))
|
|
};
|
|
}
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
|
wx.createPage(MiniProgramPage);
|