chore: 图标和图片动态组件设置成static静态资源

This commit is contained in:
tnt group
2023-05-24 11:49:24 +08:00
parent 773ae65085
commit 051ddcc2d4
7 changed files with 10 additions and 3 deletions
@@ -100,6 +100,7 @@ const dblclickHandle = async (item: ConfigType) => {
if (item.redirectComponent) {
item.dataset && (newComponent.option.dataset = item.dataset)
newComponent.chartConfig.title = item.title
newComponent.chartConfig.chartFrame = item.chartFrame
}
// 添加
chartEditStore.addComponentList(newComponent, false, true)
@@ -161,6 +161,7 @@ const selectChartHandle = async (item: ConfigType) => {
if (item.redirectComponent) {
item.dataset && (newComponent.option.dataset = item.dataset)
newComponent.chartConfig.title = item.title
newComponent.chartConfig.chartFrame = item.chartFrame
}
// 添加
chartEditStore.addComponentList(newComponent, false, true)