Commit cad8e02b authored by 邓超's avatar 邓超

fix: 修复角色管理拖拽问题

parent cdc9f043
Pipeline #44626 passed with stages
in 2 minutes 10 seconds
......@@ -637,7 +637,7 @@ const SiteManage = () => {
console.log('22222222222');
// 插入到第一个子节点
// 子菜单不能拖拽到二级菜单组上方
if (dropObj.roleList[0].groupflag) {
if (dropObj.roleList[0] && dropObj.roleList[0].groupflag) {
return;
}
console.log(dropObj, '33333333333');
......
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