|
|
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- const common_assets = require("../../common/assets.js");
- const _sfc_main = common_vendor.defineComponent({
- methods: {
- logout() {
- common_vendor.index.showModal({
- title: "提示",
- content: "确定要退出登录吗?",
- success: (res) => {
- if (res.confirm) {
- common_vendor.index.showToast({
- title: "退出登录成功",
- icon: "success",
- success: () => {
- setTimeout(() => {
- common_vendor.index.navigateTo({ url: "/pages/index/index" });
- }, 1500);
- }
- });
- }
- }
- });
- }
- }
- });
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
- return {
- a: common_assets._imports_0$2,
- b: common_assets._imports_0$2,
- c: common_assets._imports_0$2,
- d: common_assets._imports_0$2,
- e: common_assets._imports_0$2,
- f: common_vendor.o((...args) => $options.logout && $options.logout(...args)),
- g: common_vendor.sei(_ctx.virtualHostId, "view")
- };
- }
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
- wx.createPage(MiniProgramPage);
- //# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/wode.js.map
|