Commit 86b822a9 by zhaochengxiang

修改编辑资产管理目录问题

parent c5a2434d
...@@ -74,9 +74,11 @@ const TreeModal = (props)=>{ ...@@ -74,9 +74,11 @@ const TreeModal = (props)=>{
"id":editBox.id, "id":editBox.id,
} }
let parentPath = editBox.path.substring(0,editBox.path.lastIndexOf("/"));;
dispatchLatest({ dispatchLatest({
type: 'assetmanage.addOrUpdateDirectory', type: 'assetmanage.addOrUpdateDirectory',
payload: {params:{parentPath:editBox.path},data:box}, payload: {params:{parentPath:parentPath},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