fix: clear input field after sending message in CardChat.vue
This commit is contained in:
parent
8a24d11a65
commit
1e4c8cc3e3
|
|
@ -121,6 +121,7 @@ const selectedUsers = ref<User[]>([])
|
||||||
role: 'user',
|
role: 'user',
|
||||||
content: input,
|
content: input,
|
||||||
})
|
})
|
||||||
|
input = ''
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<Input v-model="input" placeholder="Type a message..." class="flex-1" />
|
<Input v-model="input" placeholder="Type a message..." class="flex-1" />
|
||||||
|
|
|
||||||
|
|
@ -121,6 +121,7 @@ const selectedUsers = ref<User[]>([])
|
||||||
role: 'user',
|
role: 'user',
|
||||||
content: input,
|
content: input,
|
||||||
})
|
})
|
||||||
|
input = ''
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<Input v-model="input" placeholder="Type a message..." class="flex-1" />
|
<Input v-model="input" placeholder="Type a message..." class="flex-1" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user