"use strict"; const common_vendor = require("../../common/vendor.js"); const _sfc_main = { __name: "index", setup(__props) { common_vendor.onShow(() => { const token = common_vendor.index.getStorageSync("token"); const phoneBound = !!common_vendor.index.getStorageSync("phone_bound"); common_vendor.index.__f__("log", "at pages/cabinet/index.vue:10", "cabinet onShow token:", token, "isLogin:", !!token, "phoneBound:", phoneBound); if (!token || !phoneBound) { common_vendor.index.showModal({ title: "提示", content: "请先登录并绑定手机号", confirmText: "去登录", success: (res) => { if (res.confirm) { common_vendor.index.navigateTo({ url: "/pages/login/index" }); } } }); } }); return (_ctx, _cache) => { return {}; }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-814d09c7"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/cabinet/index.js.map