Commit 44b24646 authored by Maofei94's avatar Maofei94

fix: 抽屉隐藏

parent e360af3c
......@@ -177,7 +177,7 @@ class PicturesWall extends React.Component<PicturesWallType> {
url: this.state.curSelectedImg,
},
];
this.props.onChange && this.props.onChange( maxLen === 1 ? fileList[0].url.replace('Web4/', '') : fileList.map(f => f.url.replace('Web4/', '')));
this.props.onChange && this.props.onChange( maxLen === 1 ? fileList[0].url.replace('Web4\\', '') : fileList.map(f => f.url.replace('Web4\\', '')));
this.setState({ fileList, wallModalVisible: false });
};
......
......@@ -204,6 +204,7 @@ const WebConfigPage = props => {
message: successMsg,
duration: 3,
});
setConfigVisible(false);
updateModuleTree(userMode || 'super');
} else {
notification.warning({
......
......@@ -287,7 +287,6 @@ const MiniMenu = props => {
};
// 树的拖动
const handleDrop = infos => {
console.log(infos, 'newTree');
const { pos } = infos.node.props;
const dragKey = infos.dragNode.props.eventKey;
const dragPos = infos.dragNode.props.pos.split('-'); // 拖动的节点
......@@ -302,7 +301,6 @@ const MiniMenu = props => {
obj = { arr, id, parentId, index };
return { arr, id, parentId, index };
});
console.log(obj, 'obj');
let arrList = [];
if (
dragPos.length !== dropPos.length ||
......
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