mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-10 14:09:25 +00:00
fix(api-tree-select): fetch
not triggered when params
changed
修复ApiTreeSelect的params变化未能触发重新请求API数据的问题
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
watch(
|
watch(
|
||||||
() => props.params,
|
() => props.params,
|
||||||
() => {
|
() => {
|
||||||
isFirstLoaded.value && fetch();
|
!unref(isFirstLoaded) && fetch();
|
||||||
},
|
},
|
||||||
{ deep: true },
|
{ deep: true },
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user