fix:商户下拉

This commit is contained in:
dzc committed 2025-01-09 13:27:09 +08:00
1 parent 4891ac46b2
commit dbe572a155
3 files changed
+14 -15

No files matched your search

+2 -2
View File
@@ -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);
}