Commit da3c1446 by zhaochengxiang

资产要素与元数据关联

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