We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78917cd commit c5a703fCopy full SHA for c5a703f
src/views/member/level/components/MemberLevelSelect.vue
@@ -1,11 +1,11 @@
1
<template>
2
<el-select v-model="levelId" placeholder="请选择用户等级" clearable class="!w-240px">
3
- <el-option
4
- v-for="level in levelOptions"
5
- :key="level.id"
6
- :label="level.name"
7
- :value="level.id"
8
- />
+ <el-option v-for="level in levelOptions" :key="level.id" :label="level.name" :value="level.id">
+ <span class="flex items-center gap-x-8px">
+ <el-avatar :src="level.icon" size="small" />
+ {{ level.name }}
+ </span>
+ </el-option>
9
</el-select>
10
</template>
11
0 commit comments