File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
src/views/ai/chat/index/components/role Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 10
10
<el-icon ><More /></el-icon >
11
11
</el-button >
12
12
</span >
13
- <!-- TODO @fan:下面两个 icon,可以使用类似 <Icon icon="ep:question-filled" /> 替代哈 -->
14
13
<template #dropdown >
15
14
<el-dropdown-menu >
16
15
<el-dropdown-item :command =" ['edit', role]" >
17
- <el- icon>< EditPen /></ el-icon >编辑
16
+ <Icon icon = " ep:edit " color = " #787878 " / >编辑
18
17
</el-dropdown-item >
19
18
<el-dropdown-item :command =" ['delete', role]" style =" color : red " >
20
- <el-icon ><Delete /></el-icon >
21
- <span >删除</span >
19
+ <Icon icon =" ep:delete" color =" red" />删除
22
20
</el-dropdown-item >
23
21
</el-dropdown-menu >
24
22
</template >
43
41
</template >
44
42
45
43
<script setup lang="ts">
46
- import { ChatRoleVO } from ' @/api/ai/model/chatRole'
47
- import { PropType , ref } from ' vue'
48
- import { Delete , EditPen , More } from ' @element-plus/icons-vue'
44
+ import {ChatRoleVO } from ' @/api/ai/model/chatRole'
45
+ import {PropType , ref } from ' vue'
46
+ import {More } from ' @element-plus/icons-vue'
49
47
50
48
const tabsRef = ref <any >() // tabs ref
51
49
You can’t perform that action at this time.
0 commit comments