36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
if (!Math) {
|
|
tabBar();
|
|
}
|
|
const tabBar = () => "../../components/tabBar/tabBar.js";
|
|
const _sfc_main = {
|
|
__name: "case",
|
|
setup(__props) {
|
|
const src = common_vendor.ref("");
|
|
common_vendor.onLoad((options) => {
|
|
{
|
|
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
|
|
let token = "";
|
|
if (envVersion == "release") {
|
|
token = common_vendor.index.getStorageSync("AUTH_TOKEN_CASEDATA");
|
|
} else {
|
|
token = common_vendor.index.getStorageSync("DEV_AUTH_TOKEN_CASEDATA");
|
|
}
|
|
src.value = "https://dev-caseplatform.igandan.com/web/home?token=" + token;
|
|
}
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: src.value,
|
|
b: common_vendor.p({
|
|
value: 1
|
|
})
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-14eb7e01"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/case/case.js.map
|