From 48a32a60a1f8fffab2725e9aecf135e621aefe30 Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Wed, 14 Jan 2026 09:41:51 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=20customer=E9=A1=B5=E9=9D=A2=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E9=A1=BE=E5=AE=A2=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Workshop/profile.vue | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/Workshop/profile.vue b/src/views/Workshop/profile.vue index c00a2f7..8340c91 100644 --- a/src/views/Workshop/profile.vue +++ b/src/views/Workshop/profile.vue @@ -172,10 +172,11 @@ const onScroll = (e: Event) => { // 打开customer选择时关闭profile弹窗 如果不是点击confirem关闭则重新打开profile弹窗 let isCustomerOnly = false const handleShowPopup = (flag: boolean, customer: boolean) => { + console.log(flag,customer) // customer: 是否是顾客页面只展示customer选择弹窗 isCustomerOnly = customer showSwitchCustomerPopup.value = flag - if (isCustomerOnly) return + if (props.isCustomer) return show.value = !flag if (flag) { loadCustomers(true) @@ -310,7 +311,7 @@ defineExpose({ open, close, handleShowPopup }) >