{"code":"import { defineComponent } from \"vue\";\nexport default defineComponent({\n    methods: {\n        logout() {\n            uni.showModal({\n                title: '提示',\n                content: '确定要退出登录吗？',\n                success: (res) => {\n                    if (res.confirm) {\n                        uni.showToast({\n                            title: '退出登录成功',\n                            icon: 'success',\n                            success: () => {\n                                // 这里可以添加退出登录的逻辑，例如清除用户登录状态\n                                setTimeout(() => {\n                                    uni.navigateTo({ url: '/pages/index/index' });\n                                }, 1500);\n                            }\n                        });\n                    }\n                }\n            });\n        }\n    }\n});\n//# sourceMappingURL=C:/Users/lj/Desktop/121/contract-front/111/pages/index/wode.uvue?vue&type=script&lang.uts.js.map","references":[],"uniExtApis":["uni.showModal","uni.showToast","uni.navigateTo"],"map":"{\"version\":3,\"file\":\"wode.uvue?vue&type=script&lang.uts.js\",\"sourceRoot\":\"\",\"sources\":[\"wode.uvue?vue&type=script&lang.uts\"],\"names\":[],\"mappings\":\";AACA,+BAAe;IACb,OAAO,EAAE;QACT,MAAM;YACJ,GAAG,CAAC,SAAS,CAAC;gBACZ,KAAK,EAAE,IAAI;gBACX,OAAO,EAAE,WAAW;gBACpB,OAAO,EAAE,CAAC,GAAG;oBACX,IAAI,GAAG,CAAC,OAAO,EAAE;wBACf,GAAG,CAAC,SAAS,CAAC;4BACZ,KAAK,EAAE,QAAQ;4BACf,IAAI,EAAE,SAAS;4BACf,OAAO,EAAE;gCACP,2BAA2B;gCAC3B,UAAU,CAAC;oCACT,GAAG,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,oBAAoB,EAAE,CAAC,CAAC;gCAChD,CAAC,EAAE,IAAI,CAAC,CAAC;4BACX,CAAC;yBACF,CAAC,CAAC;qBACJ;gBACH,CAAC;aACF,CAAC,CAAC;QACL,CAAC;KACE;CACJ,EAAC\"}"}
