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.
|
|
"use strict"; const common_vendor = require("../../common/vendor.js"); const _sfc_main = { __name: "userInfo", setup(__props) { const handleLogout = () => { common_vendor.index.showModal({ title: "提示", content: "确定要退出登录吗?", success: (res) => { if (res.confirm) { common_vendor.index.removeStorageSync("isLogin"); common_vendor.index.redirectTo({ url: "/pages/login/login" }); } } }); }; common_vendor.onShow(() => { const isLogin = common_vendor.index.getStorageSync("isLogin"); common_vendor.index.__f__("log", "at pages/userInfo/userInfo.vue:78", isLogin); if (!isLogin) { common_vendor.index.redirectTo({ url: "/pages/login/login" }); } }); return (_ctx, _cache) => { return { a: common_vendor.o(handleLogout) }; }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-875c692e"]]); wx.createPage(MiniProgramPage); //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/userInfo/userInfo.js.map
|