Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c5a703f4
authored
Aug 22, 2023
by
owen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员:等级下拉框显示图标
parent
78917cd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/views/member/level/components/MemberLevelSelect.vue
+6
-6
No files found.
src/views/member/level/components/MemberLevelSelect.vue
View file @
c5a703f4
<
template
>
<
template
>
<el-select
v-model=
"levelId"
placeholder=
"请选择用户等级"
clearable
class=
"!w-240px"
>
<el-select
v-model=
"levelId"
placeholder=
"请选择用户等级"
clearable
class=
"!w-240px"
>
<el-option
<el-option
v-for=
"level in levelOptions"
:key=
"level.id"
:label=
"level.name"
:value=
"level.id"
>
v-for=
"level in levelOptions"
<span
class=
"flex items-center gap-x-8px"
>
:key=
"level.id"
<el-avatar
:src=
"level.icon"
size=
"small"
/>
:label=
"level.name"
{{
level
.
name
}}
:value=
"level.id"
</span>
/
>
</el-option
>
</el-select>
</el-select>
</
template
>
</
template
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment