refactor: 命名优化统一

This commit is contained in:
Ray.Hao
2025-05-25 08:22:50 +08:00
parent 01d83e21d1
commit 5eaccf112c
12 changed files with 219 additions and 105 deletions

View File

@@ -3,7 +3,7 @@
<!-- 开启水印 -->
<el-watermark
:font="{ color: fontColor }"
:content="watermarkEnabled ? defaultSettings.watermarkContent : ''"
:content="showWatermark ? defaultSettings.watermarkContent : ''"
:z-index="9999"
class="wh-full"
>
@@ -23,7 +23,7 @@ const settingsStore = useSettingsStore();
const locale = computed(() => appStore.locale);
const size = computed(() => appStore.size as ComponentSize);
const watermarkEnabled = computed(() => settingsStore.watermarkEnabled);
const showWatermark = computed(() => settingsStore.showWatermark);
// 明亮/暗黑主题水印字体颜色适配
const fontColor = computed(() => {