fix(Cascader): should watch options deeply (#7777)

* fix(Cascader): should watch options deeply

* docs: fix
This commit is contained in:
neverland
2020-12-21 10:28:08 +08:00
committed by GitHub
parent 5452701c47
commit a9134162f6
5 changed files with 196 additions and 6 deletions
+3 -2
View File
@@ -29,8 +29,9 @@ export default createComponent({
},
watch: {
options() {
this.updateTabs();
options: {
deep: true,
handler: 'updateTabs',
},
value(value) {