mirror of https://gitee.com/xiaonuobase/snowy
【更新】修复微信开源1群提出的角色编辑bug,更新了首页图片尺寸高度
parent
d7df6ff222
commit
1a49935026
|
@ -32,17 +32,17 @@
|
|||
|
||||
<style scoped>
|
||||
.carousel-images {
|
||||
height: 150px;
|
||||
height: 160px;
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
.snowy-right-card-one {
|
||||
height: 150px;
|
||||
height: 160px;
|
||||
}
|
||||
|
||||
.ant-carousel :deep(.slick-slide) {
|
||||
text-align: center;
|
||||
height: 150px;
|
||||
height: 160px;
|
||||
line-height: 150px;
|
||||
background: #364d79;
|
||||
overflow: hidden;
|
||||
|
|
|
@ -141,8 +141,10 @@ public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> impl
|
|||
if(superRole) {
|
||||
throw new CommonException("不可编辑超管角色");
|
||||
}
|
||||
if(SysRoleCategoryEnum.ORG.getValue().equals(sysRoleEditParam.getCategory()) && ObjectUtil.isEmpty(sysRoleEditParam.getOrgId())) {
|
||||
if(SysRoleCategoryEnum.ORG.getValue().equals(sysRoleEditParam.getCategory())) {
|
||||
if (ObjectUtil.isEmpty(sysRoleEditParam.getOrgId())) {
|
||||
throw new CommonException("orgId不能为空");
|
||||
}
|
||||
} else {
|
||||
sysRoleEditParam.setOrgId(null);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue