Commit 83d59719 authored by Maofei94's avatar Maofei94

perf: perf

parent 56aed0db
......@@ -261,7 +261,7 @@ const MiniMenu = props => {
};
const rootAddGroup = () => {
setNodeObj('');
setNodeType(1);
// setNodeType(1);
setModalTitle('最上级列表');
setAddType(1);
setAddVisible(true);
......@@ -276,15 +276,13 @@ const MiniMenu = props => {
const rootAdd = () => {
setModalTitle('最上级列表');
setNodeObj('');
setNodeType(3);
// setNodeType(3);
setAddType(3);
setAddTwoVisible(true);
};
// 新增提交的回调
const submitCallback = (prop, item) => {
setSubmitLoading(true);
console.log(prop, item);
console.log(roleList);
let obj = { ...prop };
// if (addType === 3 || addType === 4) {
// obj.relatedRoleList = String(roleList) || '';
......
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