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

fix: '字段形态配置修改'

parent 614f64fe
Pipeline #53205 waiting for manual action with stages
......@@ -63,9 +63,12 @@ const AddModal = props => {
const [selectGroup, setSelectGroup] = useState([]);
const editor = record => {
console.log(record);
if (!record.children) {
setIsType('edit');
setIsVisible(true);
setItemData(record);
}
};
const Submit = prop => {
setIsVisible(false);
......@@ -571,6 +574,7 @@ const AddModal = props => {
}
};
const mapTree = org => {
console.log(org);
const haveChildren = Array.isArray(org.children) && org.children.length > 0;
return haveChildren ? (
<TreeNode value={org.name} title={org.name} disabled>
......
......@@ -244,6 +244,7 @@ const TableManager = props => {
}
}
setKeepTreeFirst(bb);
console.log(aa);
setKeepTreeSelect(aa);
initNum.current += 1;
}
......
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