Commit 1f37cf07 authored by 张烨's avatar 张烨

fix: 角色选择器bug

parent 94801974
...@@ -79,7 +79,7 @@ const ListCard = props => { ...@@ -79,7 +79,7 @@ const ListCard = props => {
<> <>
{dataList && dataList.length > 0 ? ( {dataList && dataList.length > 0 ? (
dataList dataList
.filter(d => d.type === 'widgetGroup') .filter(d => d.type === 'widgetGroup' || 'widget')
.map((item, index) => ( .map((item, index) => (
<ListCardItem <ListCardItem
item={item} item={item}
......
...@@ -3,7 +3,8 @@ ...@@ -3,7 +3,8 @@
// display: flex; // display: flex;
width: 100%; width: 100%;
flex-wrap: wrap; flex-wrap: wrap;
border: 1px solid #b5b8c8; border: 1px solid #c2cdfd;
border-radius: 5px;
margin-top: 20px; margin-top: 20px;
min-height: 50px; min-height: 50px;
padding: 0 10px 10px 20px; padding: 0 10px 10px 20px;
...@@ -15,6 +16,9 @@ ...@@ -15,6 +16,9 @@
margin: -10px 0 0 0px; margin: -10px 0 0 0px;
line-height: 20px; line-height: 20px;
} }
.topCheckbox>label :hover{
font-weight: 600;
}
.checkdiv { .checkdiv {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
......
...@@ -403,7 +403,10 @@ const MiniMenu = props => { ...@@ -403,7 +403,10 @@ const MiniMenu = props => {
submitCallback={editSubmitCallback} submitCallback={editSubmitCallback}
/> />
) : ( ) : (
<Empty image={Empty.PRESENTED_IMAGE_SIMPLE} /> <Empty
image={Empty.PRESENTED_IMAGE_SIMPLE}
description="当前未选中菜单"
/>
)} )}
</div> </div>
<div <div
......
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