From aca7aa9ce32acc4c8795342f945b027d3bc9f62a Mon Sep 17 00:00:00 2001 From: 曹睿 <360930172@qq.com> Date: 星期二, 10 六月 2025 17:37:34 +0800 Subject: [PATCH] feat: 添加时效报工,修复扫码内存泄漏 --- src/pages/mine/index.vue | 27 ++++++++++++++------------- 1 files changed, 14 insertions(+), 13 deletions(-) diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 04fb976..b164c37 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -104,7 +104,7 @@ </view> --> <!-- 甯哥敤宸ュ叿 --> - <view class="card-container"> + <!-- <view class="card-container"> <view class="card-header"> <view class="card-title"> <wd-icon name="tools" size="18" :color="themeStore.primaryColor" /> @@ -161,10 +161,10 @@ <view class="tool-label">鎴戠殑閽卞寘</view> </view> </view> - </view> + </view> --> <!-- 鎺ㄨ崘鏈嶅姟 --> - <view class="card-container"> + <!-- <view class="card-container"> <view class="card-header"> <view class="card-title"> <wd-icon name="star" size="18" :color="themeStore.primaryColor" /> @@ -209,7 +209,7 @@ <wd-icon name="arrow-right" size="14" color="#999" /> </view> </view> - </view> + </view> --> <view v-if="isLogin" class="logout-btn-container"> <wd-button class="logout-btn" @click="handleLogout">閫�鍑虹櫥褰�</wd-button> @@ -252,6 +252,7 @@ if (res.confirm) { userStore.logout(); toast.show("宸查��鍑虹櫥褰�"); + uni.reLaunch({ url: "/pages/login/index" }); } }, }); @@ -267,14 +268,14 @@ }; // 甯歌闂 -const navigateToFAQ = () => { - uni.navigateTo({ url: "/pages/mine/faq/index" }); -}; +// const navigateToFAQ = () => { +// uni.navigateTo({ url: "/pages/mine/faq/index" }); +// }; // 鍏充簬鎴戜滑 -const navigateToAbout = () => { - uni.navigateTo({ url: "/pages/mine/about/index" }); -}; +// const navigateToAbout = () => { +// uni.navigateTo({ url: "/pages/mine/about/index" }); +// }; // 璁剧疆 const navigateToSettings = () => { @@ -282,9 +283,9 @@ }; // 闂鍙嶉 -const handleQuestionFeedback = () => { - uni.navigateTo({ url: "/pages/mine/feedback/index" }); -}; +// const handleQuestionFeedback = () => { +// uni.navigateTo({ url: "/pages/mine/feedback/index" }); +// }; // 瀵艰埅鍒板悇涓澘鍧� const navigateToSection = (section: string, subSection?: string) => { -- Gitblit v1.9.3