fix: 修改类型报错

This commit is contained in:
MTrun
2022-03-07 15:21:45 +08:00
parent 9295b93116
commit c2e01b3907
13 changed files with 43 additions and 27 deletions
+3 -3
View File
@@ -24,16 +24,16 @@
import { toRefs, Ref, reactive } from 'vue'
import { renderIcon, goDialog, goHome } from '@/utils'
import { icon } from '@/plugins'
const { LayersIcon, BarChartIcon, PrismIcon, HomeIcon } = icon.ionicons5
import { useChartLayoutStore } from '@/store/modules/chartLayoutStore/chartLayoutStore'
import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
import { useRemoveKeyboard } from '../hooks/useKeyboard.hook'
const { LayersIcon, BarChartIcon, PrismIcon, HomeIcon } = icon.ionicons5
const { setItem } = useChartLayoutStore()
const { getLayers, getCharts, getDetails } = toRefs(useChartLayoutStore())
type ItemType = {
key: string
interface ItemType {
key: ChartLayoutStoreEnum
select: Ref<boolean> | boolean
title: string
icon: any