format(ui) (#361)

This commit is contained in:
wang-liang0615 2024-01-03 16:35:50 +08:00 committed by GitHub
parent 1a8d54d4e2
commit 4e48dd2b37
1 changed files with 13 additions and 2 deletions

View File

@ -3,7 +3,13 @@
<a-form-item :label="$t('acl.addUser')" :label-col="{ span: 4 }" :wrapper-col="{ span: 20 }">
<a-row>
<a-col span="15">
<el-select v-model="selectedChildrenRole" multiple collapse-tags size="small" filterable :placeholder="$t('placeholder2')">
<el-select
v-model="selectedChildrenRole"
multiple
collapse-tags
size="small"
filterable
:placeholder="$t('placeholder2')">
<el-option
class="drop-down-render"
v-for="role in allRoles"
@ -21,7 +27,12 @@
<a-card>
<a-row :gutter="24" v-for="(record, index) in records" :key="record.id" :style="{ marginBottom: '5px' }">
<a-col :span="20">{{ index + 1 }}{{ record.nickname }}</a-col>
<a-col :span="4"><a-button type="danger" size="small" @click="handleRevokeUser(record)">{{ $t('acl.remove') }}</a-button></a-col>
<a-col
:span="4"
><a-button type="danger" size="small" @click="handleRevokeUser(record)">{{
$t('acl.remove')
}}</a-button></a-col
>
</a-row>
</a-card>
</CustomDrawer>