diff --git a/src/api/workshop.ts b/src/api/workshop.ts index 4ced352..aa88cb9 100644 --- a/src/api/workshop.ts +++ b/src/api/workshop.ts @@ -146,8 +146,7 @@ export function getTryOnEffectStyleList(styleId: string | number) { // 选择顾客 interface CustomerInfo { - name: string - email: string + vipId: 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..8da7be8 100644 --- a/src/views/stylist/customer.vue +++ b/src/views/stylist/customer.vue @@ -13,7 +13,7 @@