From d0e4cabd07fb7c58e5c18771574f688d8ab5390c Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 12 Mar 2025 17:14:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=E4=B8=8D=E7=94=A8=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=A2=9D=E5=A4=96=E4=BC=A0=E5=8F=82=EF=BC=8C?= =?UTF-8?q?=E9=80=80=E5=87=BA=E7=99=BB=E5=BD=95=E6=B8=85=E9=99=A4=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=BF=A1=E6=81=AF=EF=BC=8C=E6=95=B0=E6=8D=AE=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E5=A2=9E=E5=8A=A0=E6=96=B0=E5=A2=9E=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E6=95=B0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/modules/user.ts | 3 + .../marketing/share/components/share.vue | 2 +- src/views/data/index.vue | 2 +- src/views/product/index.vue | 174 ++++++++++-------- 4 files changed, 104 insertions(+), 77 deletions(-) diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index ea766a4..039339a 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -114,6 +114,9 @@ export const useUserStore = defineStore("user", () => { */ function clearUserData() { return new Promise((resolve) => { + userInfo.value = {} as UserInfo + meituan_douyin_info.value = {} + isShopAdmin.value = false clearToken(); usePermissionStoreHook().resetRouter(); useDictStoreHook().clearDictionaryCache(); diff --git a/src/views/application/marketing/share/components/share.vue b/src/views/application/marketing/share/components/share.vue index f89612a..2022eeb 100644 --- a/src/views/application/marketing/share/components/share.vue +++ b/src/views/application/marketing/share/components/share.vue @@ -359,7 +359,7 @@ export default { background-color: #fff; position: absolute; top: 10px; - right: $size / 2 * -1; + right: calc($size / 2 * - 1); transform: rotate(-45deg); } diff --git a/src/views/data/index.vue b/src/views/data/index.vue index c321ac8..c206cca 100644 --- a/src/views/data/index.vue +++ b/src/views/data/index.vue @@ -214,7 +214,7 @@
新增会员数 - {{ 0 }}(人) + {{ trade.newMemberCoun || 0 }}(人)
会员消费笔数 diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 40159f7..d154e37 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -1,75 +1,88 @@