fix(api-tree-select): auto reload while `params` changed

修复ApiTreeSelect组件没有正确监听params变化的问题
This commit is contained in:
无木 2021-07-20 18:01:18 +08:00
parent 596670dc88
commit c734f6858d
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
### 🐛 Bug Fixes
- **ApiTreeSelect** 修复未能正确监听`params`变化的问题
## 2.6.1(2021-07-19) ## 2.6.1(2021-07-19)
### ✨ Features ### ✨ Features

View File

@ -45,7 +45,8 @@
() => props.params, () => props.params,
() => { () => {
isFirstLoaded.value && fetch(); isFirstLoaded.value && fetch();
} },
{ deep: true }
); );
watch( watch(