Commit bd565915 authored by 皮倩雯's avatar 皮倩雯

fix: '解决表字段快速切换表清除数据时界面卡死问题'

parent b5cdabca
Pipeline #50075 skipped with stages
......@@ -533,6 +533,8 @@ const AddModal = props => {
};
const treeSelectOnchange = e => {
console.log(e);
if (e) {
setTreeLoading(true);
console.log('切换');
setSelectedRowKeys([]);
......@@ -564,6 +566,9 @@ const AddModal = props => {
setSelect(newArr);
}
});
} else {
setTreeSelectValue('');
}
};
const mapTree = org => {
const haveChildren = Array.isArray(org.children) && org.children.length > 0;
......
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