perf: 优化滤镜模糊问题,默认不开启

This commit is contained in:
奔跑的面条
2022-09-19 17:32:19 +08:00
parent 2f24548cb1
commit 352a97d5c1
8 changed files with 26 additions and 4 deletions
@@ -5,6 +5,9 @@
</div>
<collapse-item :name="isCanvas ? '滤镜' : '滤镜 / 变换'">
<template #header>
<n-switch v-if="isCanvas" v-model:value="chartStyles.filterShow" size="small"></n-switch>
</template>
<setting-item-box name="色相" :alone="true">
<setting-item :name="`值:${chartStyles.hueRotate}deg`">
<!-- 透明度 -->
@@ -121,6 +124,9 @@
></n-input-number>
</setting-item>
</setting-item-box>
<!-- 提示 -->
<n-tag v-show="isCanvas" type="warning"> 若预览时大屏模糊可以尝试关闭滤镜进行修复 </n-tag>
</collapse-item>
</template>