feat: 修改组件展示,支持单个组件数据编辑

This commit is contained in:
MTrun
2022-02-24 17:23:20 +08:00
parent 2bdc489827
commit 14010cce8f
17 changed files with 219 additions and 175 deletions
@@ -94,7 +94,7 @@ const labelHandle = (e: HistoryItemType) => {
return historyActionTypeName[HistoryTargetTypeEnum.CANVAS]
}
return `${historyActionTypeName[e.actionType]} - ${
(e.historyData as CreateComponentType).chartData.title
(e.historyData as CreateComponentType).chartConfig.title
}`
}
+1 -1
View File
@@ -29,7 +29,7 @@
<component
class="edit-content-chart"
:is="item.key"
:chartData="item"
:chartConfig="item"
:themeSetting="themeSetting"
:themeColor="themeColor"
:style="useSizeStyle(item.attr)"