fix: bug#10839

This commit is contained in:
xieyonghong 2023-03-27 19:43:09 +08:00
parent b6bf92a577
commit fb1478a181
1 changed files with 7 additions and 1 deletions

View File

@ -186,7 +186,13 @@ const columns = [
hideInTable: true, hideInTable: true,
search: { search: {
type: 'treeSelect', type: 'treeSelect',
options: queryTree({ paging: false }).then((resp) => resp.result), options: () => {
return new Promise((res => {
queryTree({ paging: false }).then(resp => {
res(resp.result)
})
}))
},
componentProps: { componentProps: {
fieldNames: { fieldNames: {
label: 'name', label: 'name',