Commit e81f9379 authored by 杨子龙's avatar 杨子龙

修复数据不更新问题

parent fb76de9f
......@@ -346,11 +346,11 @@ const DataTable = props => {
return () => {
eventEmitter.removeAllListeners(addons?.dataPath)
}
}, []);
}, [dataSource]);
useEffect(() => {
getColumns()
} , [fieldList])
} , [fieldList , dataSource])
useEffect(() => {
initRelationForm();
......
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