fix: 修改预览页面动态注册方式

This commit is contained in:
MTrun
2022-03-10 14:34:26 +08:00
parent 790cc7b878
commit c29ecc8b0b
7 changed files with 24 additions and 32 deletions
@@ -7,7 +7,7 @@
:style="{ ...useComponentAttrStyle(item.attr, index), ...useSizeStyle(item.attr), ...useStyle(item.styles)}"
>
<component
:is="item.key"
:is="item.chartConfig.chartKey"
:chartConfig="item"
:themeSetting="themeSetting"
:themeColor="themeColor"