mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
Merge branch 'v5.0.0dev' of https://gitee.com/ZhongBangKeJi/CRMEB into v5.0.0dev
This commit is contained in:
commit
9893ca9ff1
@ -102,6 +102,6 @@ class SystemAdminDao extends BaseDao
|
||||
*/
|
||||
public function checkRoleUse(int $id): bool
|
||||
{
|
||||
return (bool)$this->getModel()->whereFindInSet('roles', $id)->count();
|
||||
return (bool)$this->getModel()->where('is_del', 0)->whereFindInSet('roles', $id)->count();
|
||||
}
|
||||
}
|
||||
|
||||
@ -17,7 +17,12 @@
|
||||
.ivu-tabs.ivu-tabs-card > .ivu-tabs-bar .ivu-tabs-tab-active {
|
||||
color: var(--prev-color-primary);
|
||||
}
|
||||
|
||||
.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu) {
|
||||
color: var(--prev-color-primary);
|
||||
}
|
||||
.ivu-menu-light.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu):after {
|
||||
background-color: var(--prev-color-primary);
|
||||
}
|
||||
// 单选卡
|
||||
.ivu-radio-group-button .ivu-radio-wrapper-checked:first-child {
|
||||
border-color: var(--prev-color-primary);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user