Browse Source

按钮更新移除path唯一限制

master
WendyYang 1 year ago
parent
commit
b0da5f433f
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java

+ 0
- 2
pmapi/src/main/java/com/ningdatech/pmapi/sys/service/impl/MenuServiceImpl.java View File

@@ -91,8 +91,6 @@ public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements IM
throw new BaseUncheckedException(HttpStatus.HTTP_OK, "【地址栏路径】:{}重复", data.getPath());
}
}
} else {
checkButtonUnique(data.getPid(), data.getPath(), data.getId());
}
Menu old = getById(data);
if (Objects.isNull(old)) {


Loading…
Cancel
Save