Commit 8d1b7f35 authored by 前端-许佳敏's avatar 前端-许佳敏

feat:修复下拉框无法获取数据

parent 5835b934
......@@ -24,6 +24,8 @@ export const useAsyncSelect = async (name, service: () => Promise<any[]>, format
label: v[labelString],
value: v[valueString]
}))
} else {
enums = res
}
setFieldState(name, state => {
state.originAsyncData = res
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment