feat: 新增图片和图标

This commit is contained in:
奔跑的面条
2023-05-23 20:55:24 +08:00
parent 93ed31f093
commit e4db7cb8ff
28 changed files with 6807 additions and 464 deletions
@@ -33,7 +33,7 @@ export const dragHandle = async (e: DragEvent) => {
// 创建新图表组件
let newComponent: CreateComponentType = await createComponent(dropData)
if (dropData.virtualComponent) {
if (dropData.redirectComponent) {
dropData.dataset && (newComponent.option.dataset = dropData.dataset)
newComponent.chartConfig.title = dropData.title
}