chore: improve watcher

This commit is contained in:
陈嘉涵
2020-01-18 10:58:12 +08:00
parent f928063d6a
commit c895bf1739
6 changed files with 14 additions and 16 deletions
+1 -3
View File
@@ -118,9 +118,7 @@ export default createComponent({
},
watch: {
type() {
this.reset();
},
type: 'reset',
value(val) {
if (val) {