fix(api-tree-select): auto reload while `params` changed
修复ApiTreeSelect组件没有正确监听params变化的问题
This commit is contained in:
parent
596670dc88
commit
c734f6858d
|
|
@ -1,3 +1,7 @@
|
||||||
|
### 🐛 Bug Fixes
|
||||||
|
|
||||||
|
- **ApiTreeSelect** 修复未能正确监听`params`变化的问题
|
||||||
|
|
||||||
## 2.6.1(2021-07-19)
|
## 2.6.1(2021-07-19)
|
||||||
|
|
||||||
### ✨ Features
|
### ✨ Features
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,8 @@
|
||||||
() => props.params,
|
() => props.params,
|
||||||
() => {
|
() => {
|
||||||
isFirstLoaded.value && fetch();
|
isFirstLoaded.value && fetch();
|
||||||
}
|
},
|
||||||
|
{ deep: true }
|
||||||
);
|
);
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue