feat: 增加图标边栏选项卡

This commit is contained in:
tnt group
2023-05-18 19:44:27 +08:00
parent aee8c6bf9e
commit 2fe63c613d
4 changed files with 16 additions and 4 deletions
@@ -7,7 +7,7 @@ import { PackagesCategoryEnum, PackagesCategoryName, PackagesType } from '@/pack
import { usePackagesStore } from '@/store/modules/packagesStore/packagesStore'
import { ChartLayoutStoreEnum } from '@/store/modules/chartLayoutStore/chartLayoutStore.d'
// 图标
const { ImageIcon, BarChartIcon } = icon.ionicons5
const { AirPlaneIcon, ImageIcon, BarChartIcon } = icon.ionicons5
const { TableSplitIcon, RoadmapIcon, SpellCheckIcon, GraphicalDataFlowIcon } = icon.carbon
// 图表
@@ -38,6 +38,10 @@ const packagesListObj = {
icon: renderIcon(ImageIcon),
label: PackagesCategoryName.PHOTOS
},
[PackagesCategoryEnum.ICONS]: {
icon: renderIcon(AirPlaneIcon),
label: PackagesCategoryName.ICONS
},
[PackagesCategoryEnum.DECORATES]: {
icon: renderIcon(GraphicalDataFlowIcon),
label: PackagesCategoryName.DECORATES