fix: 修复预览模式下组件的混合模式

This commit is contained in:
tnt group 2022-09-19 12:33:14 +08:00
parent 4f55b881db
commit f2087205c1
2 changed files with 4 additions and 2 deletions

View File

@ -4,7 +4,7 @@
v-for="item in groupData.groupList"
:class="animationsClass(item.styles.animations)"
:key="item.id"
:style="{
:style="{
...getComponentAttrStyle(item.attr, groupIndex),
...getFilterStyle(item.styles),
...getTransformStyle(item.styles)
@ -15,7 +15,7 @@
:chartConfig="item"
:themeSetting="themeSetting"
:themeColor="themeColor"
:style="{...getSizeStyle(item.attr)}"
:style="{ ...getSizeStyle(item.attr) }"
></component>
</div>
</template>
@ -49,5 +49,6 @@ const props = defineProps({
<style lang="scss" scoped>
.chart-item {
position: absolute;
mix-blend-mode: screen;
}
</style>

View File

@ -63,5 +63,6 @@ const themeColor = computed(() => {
<style lang="scss" scoped>
.chart-item {
position: absolute;
mix-blend-mode: screen;
}
</style>