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