Commit c5a2434d by zhaochengxiang

资产管理编辑目录问题

parent 72cd190f
...@@ -49,7 +49,6 @@ const TreeModal = (props)=>{ ...@@ -49,7 +49,6 @@ const TreeModal = (props)=>{
"order": value.order, "order": value.order,
"remarks": value.order, "remarks": value.order,
} }
console.log(editBox.path)
dispatchLatest({ dispatchLatest({
type: 'assetmanage.addOrUpdateDirectory', type: 'assetmanage.addOrUpdateDirectory',
payload: {params:{parentPath:editBox.path},data:box}, payload: {params:{parentPath:editBox.path},data:box},
...@@ -74,9 +73,10 @@ const TreeModal = (props)=>{ ...@@ -74,9 +73,10 @@ const TreeModal = (props)=>{
"remarks": value.remarks, "remarks": value.remarks,
"id":editBox.id, "id":editBox.id,
} }
dispatchLatest({ dispatchLatest({
type: 'assetmanage.addOrUpdateDirectory', type: 'assetmanage.addOrUpdateDirectory',
payload: {param:{parentPath:editBox.path},data:box}, payload: {params:{parentPath:editBox.path},data:box},
callback: data => { callback: data => {
setSaveLod(false) setSaveLod(false)
getNodeDetail(data.id) getNodeDetail(data.id)
......
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