From 1e4c8cc3e3ec0f7ee4036d35551b8d0bedb8b57c Mon Sep 17 00:00:00 2001 From: IceyWu <3128006406@qq.com> Date: Fri, 13 Dec 2024 15:20:39 +0800 Subject: [PATCH] fix: clear input field after sending message in CardChat.vue --- apps/www/src/lib/registry/default/example/CardChat.vue | 1 + apps/www/src/lib/registry/new-york/example/CardChat.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/apps/www/src/lib/registry/default/example/CardChat.vue b/apps/www/src/lib/registry/default/example/CardChat.vue index 71cb99c4..62e8f46e 100644 --- a/apps/www/src/lib/registry/default/example/CardChat.vue +++ b/apps/www/src/lib/registry/default/example/CardChat.vue @@ -121,6 +121,7 @@ const selectedUsers = ref([]) role: 'user', content: input, }) + input = '' }" > diff --git a/apps/www/src/lib/registry/new-york/example/CardChat.vue b/apps/www/src/lib/registry/new-york/example/CardChat.vue index 367adc90..1011a2d0 100644 --- a/apps/www/src/lib/registry/new-york/example/CardChat.vue +++ b/apps/www/src/lib/registry/new-york/example/CardChat.vue @@ -121,6 +121,7 @@ const selectedUsers = ref([]) role: 'user', content: input, }) + input = '' }" >