fix: 修改引入方式,去除config文件上的node指向

This commit is contained in:
MTrun
2022-03-10 14:12:26 +08:00
parent b71b7bfd0e
commit 790cc7b878
18 changed files with 37 additions and 69 deletions
+1 -2
View File
@@ -4,13 +4,12 @@ import { GlobalThemeJsonType } from '@/settings/chartThemes/index'
// 组件配置
export type ConfigType = {
key: string
chartKey: string,
conKey: string,
title: string
category: string
categoryName: string
package: string
node: () => Component
conNode: () => Component
image: string | (() => Promise<typeof import('*.png')>)
}