Commit da3c1446 by zhaochengxiang

资产要素与元数据关联

parent e0c9f02a
......@@ -103,9 +103,6 @@ const AttributeRelationModal = (props) => {
const [ confirmLoading, setConfirmLoading ] = useState(false);
const [ metadataModelTreeData, setMetadataModelTreeData ] = useState([]);
const [ currentTreeValue, setCurrentTreeValue ] = useState('');
const [ currentModel, setCurrentModel ] = useState('');
const [ attributes, setAttributes ] = useState([]);
const [ elements, setElements] = useState([]);
const [ form ] = Form.useForm();
......@@ -194,9 +191,6 @@ const AttributeRelationModal = (props) => {
dispatch({
type: 'assetmanage.saveEleAndAttrRel',
payload: {
params: {
model: currentModel
},
data: newRels
},
callback: data => {
......
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