下拉选择用户时,显示用户ID和邮箱

This commit is contained in:
shiziyuan9527 2020-06-11 10:52:33 +08:00
parent e8d2ca6f33
commit 781effee73
2 changed files with 4 additions and 4 deletions

View File

@ -105,7 +105,7 @@
:key="item.id"
:label="item.name"
:value="item.id">
<span class="org-member-name">{{ item.name }}</span>
<span class="org-member-id">{{ item.id }}</span>
<span class="org-member-email">{{ item.email }}</span>
</el-option>
</el-select>
@ -458,7 +458,7 @@
cursor: pointer;
}
.org-member-name {
.org-member-id {
float: left;
}

View File

@ -124,7 +124,7 @@
:key="item.id"
:label="item.name"
:value="item.id">
<span class="ws-member-name">{{ item.name }}</span>
<span class="ws-member-id">{{ item.id }}</span>
<span class="ws-member-email">{{ item.email }}</span>
</el-option>
</el-select>
@ -491,7 +491,7 @@
cursor: pointer;
}
.ws-member-name {
.ws-member-id {
float: left;
}