@@ -10,9 +10,9 @@ import {
1010 onMounted ,
1111} from ' vue'
1212import CustomTab from ' @/views/dashboard/components/sq-tab/CustomTab.vue'
13- import { guid , type CanvasItem } from ' @/utils/canvas.ts'
13+ import {guid , type CanvasItem } from ' @/utils/canvas.ts'
1414import DragHandle from ' @/views/dashboard/canvas/DragHandle.vue'
15- import { ArrowDown } from ' @element-plus/icons-vue'
15+ import {ArrowDown } from ' @element-plus/icons-vue'
1616import DashboardEditor from ' @/views/dashboard/editor/DashboardEditor.vue'
1717
1818const editableTabsValue = ref (null )
@@ -48,7 +48,7 @@ const props = defineProps({
4848 },
4949})
5050
51- const { configItem } = toRefs (props )
51+ const {configItem} = toRefs (props )
5252
5353const state = reactive ({
5454 activeTabName: ' ' ,
@@ -131,8 +131,8 @@ const isEditMode = computed(() => true)
131131
132132const addTabItem = (item : CanvasItem ) => {
133133 // do addTabItem
134- // @ts-ignore
135134 const index = configItem .value .propValue .findIndex (
135+ // @ts-ignore
136136 (tabItem ) => configItem .value .activeTabName === tabItem .name
137137 )
138138 // @ts-ignore
@@ -178,15 +178,15 @@ defineExpose({
178178 <template #label >
179179 <div class =" custom-tab-title" @mousedown.stop >
180180 <span class =" title-inner" :style =" titleStyle(tabItem.name)"
181- >{{ tabItem.title }}
181+ >{{ tabItem.title }}
182182 <span v-if =" isEditMode" >
183183 <el-dropdown
184184 popper-class =" custom-de-tab-dropdown"
185185 trigger =" click"
186186 @command =" handleCommand"
187187 >
188188 <span class =" el-dropdown-link" >
189- <el-icon v-if =" isEditMode" ><ArrowDown /></el-icon >
189+ <el-icon v-if =" isEditMode" ><ArrowDown /></el-icon >
190190 </span >
191191 <template #dropdown >
192192 <el-dropdown-menu >
0 commit comments