|
@@ -19,7 +19,7 @@
|
|
|
<!-- 滤镜预览 -->
|
|
<!-- 滤镜预览 -->
|
|
|
<div
|
|
<div
|
|
|
:style="{
|
|
:style="{
|
|
|
- ...getFilterStyle(chartEditStore.getEditCanvasConfig),
|
|
|
|
|
|
|
+ ...getFilterStyle(filterShow ? chartEditStore.getEditCanvasConfig : undefined),
|
|
|
...rangeStyle
|
|
...rangeStyle
|
|
|
}"
|
|
}"
|
|
|
>
|
|
>
|
|
@@ -54,7 +54,7 @@
|
|
|
:themeColor="themeColor"
|
|
:themeColor="themeColor"
|
|
|
:style="{
|
|
:style="{
|
|
|
...useSizeStyle(item.attr),
|
|
...useSizeStyle(item.attr),
|
|
|
- ...getFilterStyle(item.styles),
|
|
|
|
|
|
|
+ ...getFilterStyle(filterShow ? item.styles : undefined),
|
|
|
...getTransformStyle(item.styles)
|
|
...getTransformStyle(item.styles)
|
|
|
}"
|
|
}"
|
|
|
></component>
|
|
></component>
|
|
@@ -146,6 +146,11 @@ const themeColor = computed(() => {
|
|
|
return chartColors[chartThemeColor]
|
|
return chartColors[chartThemeColor]
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
|
|
+// 是否展示渲染
|
|
|
|
|
+const filterShow = computed(() => {
|
|
|
|
|
+ return chartEditStore.getEditCanvasConfig.filterShow
|
|
|
|
|
+})
|
|
|
|
|
+
|
|
|
// 背景
|
|
// 背景
|
|
|
const rangeStyle = computed(() => {
|
|
const rangeStyle = computed(() => {
|
|
|
// 设置背景色和图片背景
|
|
// 设置背景色和图片背景
|