"use strict"; const common_vendor = require("../../common/vendor.js"); const common_assets = require("../../common/assets.js"); const _sfc_main = { __name: "index", setup(__props) { const jumpTo = (url) => { common_vendor.index.switchTab({ url }); }; const showTip = () => { common_vendor.index.showToast({ title: "前面的功能以后再来探索吧", icon: "none" }); }; common_vendor.onShow(() => { const isLogin = common_vendor.index.getStorageSync("isLogin"); common_vendor.index.__f__("log", "at pages/index/index.vue:86", isLogin); if (!isLogin) { common_vendor.index.redirectTo({ url: "/pages/login/login" }); } }); return (_ctx, _cache) => { return { a: common_vendor.o(($event) => jumpTo("/pages/userInfo/userInfo")), b: common_assets._imports_0, c: common_assets._imports_1, d: common_assets._imports_2, e: common_vendor.o(($event) => jumpTo("/pages/payment/payment")), f: common_vendor.o(($event) => jumpTo("/pages/expense/expense")), g: common_vendor.o(showTip), h: common_vendor.o(showTip) }; }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map