Commit 6afbc591 authored by 陈前坚's avatar 陈前坚
parents 0063a340 f906c97f
Pipeline #22466 skipped with stages
......@@ -590,6 +590,7 @@ const InitDataBase = props => {
setInitContent('');
}}
width={800}
maskClosable={false}
bodyStyle={{
height: '600px',
// overflowY: 'auto',
......
......@@ -71,6 +71,7 @@ const SiteManage = () => {
// 点击树的回调
const handleTreeSelect = (e, treenode) => {
console.log(treenode);
if (treenode) {
console.log(e, node, 'node');
const { node } = treenode;
......@@ -81,7 +82,8 @@ const SiteManage = () => {
setRoleID(id);
setValueList([...valueList]);
} else {
setRoleID(saveTreeId);
// setRoleID(saveTreeId);
setRoleID('');
}
}
......@@ -190,7 +192,6 @@ const SiteManage = () => {
item.roleList.unshift(itemC);
});
}
console.log(iconStyles);
// if (item.visibleTitle === '手持系统') {
// item.icon = <span className="iconfont iconanzhuo1" />;
// newArr[0] = item;
......@@ -263,8 +264,8 @@ const SiteManage = () => {
const confirmModal = e => {
console.log(e, typeof e, 'e');
setModalVisible(false);
setRoleID(`${e}`);
setCurrentSelectId([`${e}`]);
// setRoleID(`${e}`);
// setCurrentSelectId([`${e}`]);
setFlag(flag + 1);
setItemObj('');
};
......@@ -272,6 +273,7 @@ const SiteManage = () => {
const delModal = () => {
setDelVisible(false);
setFlag(flag + 1);
setRoleID('');
setItemObj('');
};
// 编辑弹窗回调
......
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