修复点击发送后不能清空的问题
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user