mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 修改类型报错
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user