From d9840014a2fda336764bbffa81d68698cc471ca3 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Mon, 2 Feb 2026 02:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bundle/profile/change-mobile.vue | 2 +- src/bundle/profile/change-password.vue | 2 +- src/bundle/profile/profile.vue | 6 +++- src/bundle/setmeal/add.vue | 49 +++----------------------- src/bundle/store/setting.vue | 5 ++- src/components/order/ComboCard.vue | 48 +++++++++++++------------ src/pages/index/index.vue | 7 ---- src/store/store.ts | 8 ++++- 8 files changed, 48 insertions(+), 79 deletions(-) diff --git a/src/bundle/profile/change-mobile.vue b/src/bundle/profile/change-mobile.vue index 0534676..f9c0e8b 100644 --- a/src/bundle/profile/change-mobile.vue +++ b/src/bundle/profile/change-mobile.vue @@ -149,7 +149,7 @@ return } - await getVerificationCode({ scene: SMS_ENUM.BGSJHM, mobile: String(model.mobile)}) + await getVerificationCode({ scene: SMS_ENUM.BANK, mobile: String(model.mobile)}) startCountDown.value = true setTimeout(() => { diff --git a/src/bundle/profile/change-password.vue b/src/bundle/profile/change-password.vue index 2a5d33c..b9d132d 100644 --- a/src/bundle/profile/change-password.vue +++ b/src/bundle/profile/change-password.vue @@ -122,7 +122,7 @@ return } - await getVerificationCode({ scene: SMS_ENUM.ZHDLMM, mobile: String(model.mobile)}) + await getVerificationCode({ scene: SMS_ENUM.BANK, mobile: String(model.mobile)}) startCountDown.value = true setTimeout(() => { diff --git a/src/bundle/profile/profile.vue b/src/bundle/profile/profile.vue index 15c2c94..c7b63bd 100644 --- a/src/bundle/profile/profile.vue +++ b/src/bundle/profile/profile.vue @@ -144,7 +144,7 @@ import { getUserInfo, updateUserInfo } from '@/api/user' import type { IUserResult } from '@/api/types/user' import { router } from '@/utils/tools' - import { useUserStore } from '@/store' + import { useUserStore, useStoreStore } from '@/store' const OSS = inject('OSS') const showLogoutPopup = ref(false) // 是否显示退出登录弹出框 @@ -246,8 +246,12 @@ * 退出 */ handleLogout: async () => { + const store = useStoreStore() + await store.clearTeaStore() + const userStore = useUserStore() await userStore.logout() + if (!userStore.isLoggedIn) { toast.info('退出成功') router.reLaunch('/pages/my/my') diff --git a/src/bundle/setmeal/add.vue b/src/bundle/setmeal/add.vue index 658a7f4..353e1d7 100644 --- a/src/bundle/setmeal/add.vue +++ b/src/bundle/setmeal/add.vue @@ -25,7 +25,7 @@ 用户购买 - + 天内有效 @@ -176,8 +176,7 @@ 最多可上传9张图片 - + @@ -363,7 +362,7 @@