修复点击发送后不能清空的问题

This commit is contained in:
aixianling
2023-05-15 18:18:54 +08:00
parent 32949d8ef7
commit 0d04dedde1

View File

@@ -18,6 +18,11 @@ export default {
text: ""
}
},
watch: {
modelValue(v) {
this.text != v && (this.text = v)
}
},
methods: {
handleShortKey(e) {
if (e.ctrlKey && e.keyCode == 13) {