Commit 9b94ed67 authored by tianfen's avatar tianfen

pref: 站点管理修改

parent 7385dff1
Pipeline #21956 skipped with stages
......@@ -116,14 +116,13 @@ const SiteManage = props => {
if (name) params = { ...params, name };
groupUserPagingList(params).then(res => {
if (res.code === 0) {
// let list = res.data.list.filter(item => item.Users.length > 0);
let { list } = res.data;
if (selectList.length > 0) {
selectList.forEach(item => {
list.forEach((value, index) => {
if (item.GroupId === value.GroupId) {
list[index].Users.forEach((user, userIndex) => {
if (user.userId === item.userId) {
if (user.userID === item.userID) {
list[index].Users[userIndex].isChecked = true;
}
});
......
......@@ -148,16 +148,20 @@
margin: 0;
padding: 15px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
li{
width:200px;
height: 35px;
line-height: 35px;
background: rgba(24, 144, 255,0.16) url('../../../assets/images/icons/close.png') no-repeat 170px;
background: rgba(24, 144, 255,0.16) url('../../../assets/images/icons/close.png') no-repeat 175px;
background-size: 20px;
padding-left: 10px;
margin: 0 10px 10px 0;
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 0 20px 0 10px;
}
}
}
\ No newline at end of file
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