From 5d0de60498527435821a2c7b228ccde512b4cb3c Mon Sep 17 00:00:00 2001 From: zhangyahui Date: Thu, 20 Nov 2025 14:29:41 +0800 Subject: [PATCH 1/3] =?UTF-8?q?bugfix:=20=E4=BB=8Edressfor=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E5=AF=B9=E8=AF=9D=E8=87=AA=E5=8A=A8=E5=8F=91=E9=80=81?= =?UTF-8?q?=E6=B6=88=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/workshop.ts | 2 +- src/views/asistant/index.vue | 2 +- src/views/stylist/customer.vue | 33 +++++++++++++++++++-------------- 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/src/api/workshop.ts b/src/api/workshop.ts index 4ced352..171f5f4 100644 --- a/src/api/workshop.ts +++ b/src/api/workshop.ts @@ -147,7 +147,7 @@ export function getTryOnEffectStyleList(styleId: string | number) { // 选择顾客 interface CustomerInfo { name: string - email: string + email?: string } export const customerCheckin = (data: CustomerInfo) => { return request({ diff --git a/src/views/asistant/index.vue b/src/views/asistant/index.vue index 97bdfcc..4981c47 100644 --- a/src/views/asistant/index.vue +++ b/src/views/asistant/index.vue @@ -83,10 +83,10 @@ const sendPrefilledMessage = () => { onMounted(() => { sessionId.value = Math.floor(Date.now() / 1000).toString() generateStore.setSessionId(sessionId.value) - sendPrefilledMessage() }) onActivated(() => { + sendPrefilledMessage() noticeListRef.value?.scrollToBottom() }) diff --git a/src/views/stylist/customer.vue b/src/views/stylist/customer.vue index 78a6be9..f13d034 100644 --- a/src/views/stylist/customer.vue +++ b/src/views/stylist/customer.vue @@ -13,7 +13,7 @@