From 04ae1c342be1dc1eef4ceafa0cc6a75689a9ade6 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Fri, 11 Apr 2025 11:34:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=94=80=E5=94=AE=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E5=88=86=E7=B1=BB=E7=AD=9B=E9=80=89=E9=9A=90=E8=97=8F=EF=BC=8C?= =?UTF-8?q?=E5=95=86=E5=93=81=E5=90=8C=E6=AD=A5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/data/sales.vue | 7 ++++--- src/views/product/index.vue | 4 +++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/views/data/sales.vue b/src/views/data/sales.vue index c34d08f..f77c38d 100644 --- a/src/views/data/sales.vue +++ b/src/views/data/sales.vue @@ -12,15 +12,16 @@ - + - + diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 3d9d32f..6b8b55d 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -199,7 +199,9 @@ let datas = reactive({ remark: "", images: [] }); -if (JSON.parse(localStorage.getItem('userInfo') || '{}').isHeadShop == 0) { +let userInfo = ref(JSON.parse(localStorage.getItem('userInfo') || '{}')) +console.log(userInfo.value.isEnableProdSync) +if (userInfo.value.isHeadShop == 0 && userInfo.value.isEnableProdSync == 1) { contentConfig.toolbar.splice(0, 1) }else { contentConfig.toolbar.splice(1, 1)