mirror of
https://github.com/vbenjs/vben-admin-thin-next.git
synced 2025-01-23 01:30:23 +08:00
fix(api-tree-select): fetch
not triggered when params
changed
修复ApiTreeSelect的params变化未能触发重新请求API数据的问题
This commit is contained in:
parent
f3f56288af
commit
e1cbe23e96
@ -44,7 +44,7 @@
|
||||
watch(
|
||||
() => props.params,
|
||||
() => {
|
||||
isFirstLoaded.value && fetch();
|
||||
!unref(isFirstLoaded) && fetch();
|
||||
},
|
||||
{ deep: true },
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user