Commit c734f6858daea6d11cd517463b06fcce58744947

Authored by 无木
1 parent 596670dc

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

修复ApiTreeSelect组件没有正确监听params变化的问题
CHANGELOG.zh_CN.md
  1 +### 🐛 Bug Fixes
  2 +
  3 +- **ApiTreeSelect** 修复未能正确监听`params`变化的问题
  4 +
1 5 ## 2.6.1(2021-07-19)
2 6  
3 7 ### ✨ Features
... ...
src/components/Form/src/components/ApiTreeSelect.vue
... ... @@ -45,7 +45,8 @@
45 45 () => props.params,
46 46 () => {
47 47 isFirstLoaded.value && fetch();
48   - }
  48 + },
  49 + { deep: true }
49 50 );
50 51  
51 52 watch(
... ...