fix: 修改预览页面位置不对的问题,修改文字配置项的顺序

This commit is contained in:
奔跑的面条
2022-04-07 09:57:00 +08:00
parent 8b7606f893
commit 9c2f70b68c
4 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -96,11 +96,11 @@ onMounted(() => {
@include goId('chart-edit-content') {
border-radius: 10px;
margin: 15px;
overflow: hidden;
@extend .go-transition;
@include fetch-theme('box-shadow');
.edit-content-chart {
position: absolute;
overflow: hidden;
}
}
}
@@ -4,13 +4,14 @@
:class="animationsClass(item.styles.animations)"
v-for="(item, index) in localStorageInfo.componentList"
:key="item.id"
:style="{ ...getComponentAttrStyle(item.attr, index), ...getSizeStyle(item.attr), ...getStyle(item.styles)}"
:style="{ ...getComponentAttrStyle(item.attr, index), ...getStyle(item.styles)}"
>
<component
:is="item.chartConfig.chartKey"
:chartConfig="item"
:themeSetting="themeSetting"
:themeColor="themeColor"
:style="{...getSizeStyle(item.attr)}"
></component>
</div>
</template>