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
4cfc7856
authored
Jul 09, 2024
by
cherishsince
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【解决todo】角色列表 icon 修改为为 Icon 组件
parent
5734faa5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
src/views/ai/chat/index/components/role/RoleList.vue
+5
-7
No files found.
src/views/ai/chat/index/components/role/RoleList.vue
View file @
4cfc7856
...
...
@@ -10,15 +10,13 @@
<el-icon><More
/></el-icon>
</el-button>
</span>
<!-- TODO @fan:下面两个 icon,可以使用类似
<Icon
icon=
"ep:question-filled"
/>
替代哈 -->
<template
#
dropdown
>
<el-dropdown-menu>
<el-dropdown-item
:command=
"['edit', role]"
>
<
el-icon><EditPen
/></el-icon
>
编辑
<
Icon
icon=
"ep:edit"
color=
"#787878"
/
>
编辑
</el-dropdown-item>
<el-dropdown-item
:command=
"['delete', role]"
style=
"color: red"
>
<el-icon><Delete
/></el-icon>
<span>
删除
</span>
<Icon
icon=
"ep:delete"
color=
"red"
/>
删除
</el-dropdown-item>
</el-dropdown-menu>
</
template
>
...
...
@@ -43,9 +41,9 @@
</template>
<
script
setup
lang=
"ts"
>
import
{
ChatRoleVO
}
from
'@/api/ai/model/chatRole'
import
{
PropType
,
ref
}
from
'vue'
import
{
Delete
,
EditPen
,
More
}
from
'@element-plus/icons-vue'
import
{
ChatRoleVO
}
from
'@/api/ai/model/chatRole'
import
{
PropType
,
ref
}
from
'vue'
import
{
More
}
from
'@element-plus/icons-vue'
const
tabsRef
=
ref
<
any
>
()
// tabs ref
...
...
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