Commit c734f685 authored by 无木's avatar 无木

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

修复ApiTreeSelect组件没有正确监听params变化的问题
parent 596670dc
### 🐛 Bug Fixes
- **ApiTreeSelect** 修复未能正确监听`params`变化的问题
## 2.6.1(2021-07-19) ## 2.6.1(2021-07-19)
### ✨ Features ### ✨ Features
......
...@@ -45,7 +45,8 @@ ...@@ -45,7 +45,8 @@
() => props.params, () => props.params,
() => { () => {
isFirstLoaded.value && fetch(); isFirstLoaded.value && fetch();
} },
{ deep: true }
); );
watch( watch(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment