修复点击发送后不能清空的问题
This commit is contained in:
@@ -18,6 +18,11 @@ export default {
|
|||||||
text: ""
|
text: ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
watch: {
|
||||||
|
modelValue(v) {
|
||||||
|
this.text != v && (this.text = v)
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleShortKey(e) {
|
handleShortKey(e) {
|
||||||
if (e.ctrlKey && e.keyCode == 13) {
|
if (e.ctrlKey && e.keyCode == 13) {
|
||||||
|
|||||||
Reference in New Issue
Block a user