fix:商户下拉
This commit is contained in:
1 parent
4891ac46b2
commit
dbe572a155
3 files changed
+14
-15
No files matched your search
@@ -42,8 +42,8 @@ async function getOptions() {
|
||||
const _pa = {
|
||||
...queryForm
|
||||
}
|
||||
const { data } = await deptApi.deptTree()
|
||||
state.options = filterTreeData(data ?? [])
|
||||
const { data } = await deptApi.deptTree(_pa)
|
||||
state.options = data ?? []
|
||||
} finally {
|
||||
setTimeout(() => state.loading = false, 500);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user