refactor: 命名优化统一
This commit is contained in:
@@ -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(() => {
|
||||
|
||||
Reference in New Issue
Block a user