12345678910111213141516171819202122232425262728293031 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const common_assets = require("../../common/assets.js");
- const _sfc_main = {
- methods: {
- navigateTo(url) {
- common_vendor.index.navigateTo({ url });
- },
- logout() {
- common_vendor.index.showModal({
- title: "提示",
- content: "确定要退出登录吗?",
- success: (res) => {
- if (res.confirm) {
- common_vendor.index.removeStorageSync("token");
- common_vendor.index.reLaunch({ url: "/pages/auth/login" });
- }
- }
- });
- }
- }
- };
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return {
- a: common_assets._imports_0,
- b: common_vendor.o((...args) => $options.logout && $options.logout(...args))
- };
- }
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-ebf6908a"]]);
- wx.createPage(MiniProgramPage);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/personalInfo/index.js.map
|