Commit 83d4e8ef by zhaochengxiang

资产属性问题

parent 6ee98306
...@@ -382,6 +382,10 @@ const AttributeRelationModal = (props) => { ...@@ -382,6 +382,10 @@ const AttributeRelationModal = (props) => {
} }
} }
const reset = () => {
setActiveKey(undefined);
}
return ( return (
<Modal <Modal
forceRender forceRender
...@@ -389,11 +393,13 @@ const AttributeRelationModal = (props) => { ...@@ -389,11 +393,13 @@ const AttributeRelationModal = (props) => {
visible={visible} visible={visible}
width={1000} width={1000}
onCancel={() => { onCancel={() => {
onCancel?.() reset();
onCancel?.();
}} }}
footer={ footer={
<Space> <Space>
<Button onClick={() => { <Button onClick={() => {
reset();
onCancel?.(); onCancel?.();
}}>取消</Button> }}>取消</Button>
</Space> </Space>
......
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