@@ -3,7 +3,8 @@ import SvgIcon from '@/components/SvgIcon';
defineProps({
iconName: {
- type: String
+ type: String,
+ default: ''
},
type:{
type: String,
@@ -171,7 +171,7 @@ onUnmounted(() => {
<TheSubMenu title="智能工单" @scrollToLower="onScrolltolower" :loading="isFetching">
<template #top>
<div class="create-btn px-[11px] pb-[22px]">
- <BaseButton @click="handleCreateDialog">新建工单</BaseButton>
+ <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建工单</BaseButton>
</div>
</template>
@@ -179,7 +179,7 @@ onUnmounted(() => {
<TheSubMenu title="历史记录" @scrollToLower="onScrolltolower" :loading="isFetching">
- <BaseButton @click="handleCreateDialog">新建对话</BaseButton>
+ <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建对话</BaseButton>
@@ -178,7 +178,7 @@ onUnmounted(() => {
- <BaseButton @click="handleCreateDialog">新建指令</BaseButton>
+ <BaseButton @click="handleCreateDialog" icon-name="tool-add-circle">新建指令</BaseButton>