【解决todo】添加角色 icon 修改为为 Icon 组件

pull/476/MERGE
cherishsince 2024-07-09 17:52:43 +08:00
parent 4cfc785667
commit dbacc0c371
1 changed files with 6 additions and 9 deletions

View File

@ -23,10 +23,7 @@
@click="handlerAddRole" @click="handlerAddRole"
class="ml-20px" class="ml-20px"
> >
<!-- TODO @fan下面两个 icon可以使用类似 <Icon icon="ep:question-filled" /> 替代哈 --> <Icon icon="ep:user" style="margin-right: 5px;" />
<el-icon>
<User />
</el-icon>
添加角色 添加角色
</el-button> </el-button>
</div> </div>
@ -67,15 +64,15 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { ref } from 'vue' import {ref} from 'vue'
import RoleHeader from './RoleHeader.vue' import RoleHeader from './RoleHeader.vue'
import RoleList from './RoleList.vue' import RoleList from './RoleList.vue'
import ChatRoleForm from '@/views/ai/model/chatRole/ChatRoleForm.vue' import ChatRoleForm from '@/views/ai/model/chatRole/ChatRoleForm.vue'
import RoleCategoryList from './RoleCategoryList.vue' import RoleCategoryList from './RoleCategoryList.vue'
import { ChatRoleApi, ChatRolePageReqVO, ChatRoleVO } from '@/api/ai/model/chatRole' import {ChatRoleApi, ChatRolePageReqVO, ChatRoleVO} from '@/api/ai/model/chatRole'
import { ChatConversationApi, ChatConversationVO } from '@/api/ai/chat/conversation' import {ChatConversationApi, ChatConversationVO} from '@/api/ai/chat/conversation'
import { Search, User } from '@element-plus/icons-vue' import {Search} from '@element-plus/icons-vue'
import { TabsPaneContext } from 'element-plus' import {TabsPaneContext} from 'element-plus'
const router = useRouter() // const router = useRouter() //