mirror of
https://gitee.com/dromara/go-view.git
synced 2024-12-02 03:38:27 +08:00
feat: 扩展 ConfigType 组件配置类型,支持虚拟组件路径和预设组件 dataset 值
This commit is contained in:
parent
9f41ad1811
commit
3a6990f124
2
src/packages/index.d.ts
vendored
2
src/packages/index.d.ts
vendored
@ -24,6 +24,8 @@ export type ConfigType = {
|
|||||||
package: string
|
package: string
|
||||||
chartFrame?: ChartFrameEnum
|
chartFrame?: ChartFrameEnum
|
||||||
image: string
|
image: string
|
||||||
|
virtualComponent?: string // 虚拟组件Path,指定后创建该组件时,从指定路径创建
|
||||||
|
dataset?: any // 组件预设的 dataset 值
|
||||||
}
|
}
|
||||||
|
|
||||||
// 数据请求
|
// 数据请求
|
||||||
|
Loading…
Reference in New Issue
Block a user