feat: 新增 element-plus 水印

This commit is contained in:
郝先瑞
2024-02-20 22:35:33 +08:00
parent e646eb2d73
commit a504260c0d
5 changed files with 18 additions and 13 deletions

View File

@@ -1,11 +1,13 @@
<template>
<el-config-provider :locale="appStore.locale" :size="appStore.size">
<el-watermark content="vue3-element-admin" class="wh-full">
<router-view />
</el-watermark>
</el-config-provider>
</template>
<script setup lang="ts">
import { useAppStore } from "@/store/modules/app";
const appStore = useAppStore();
</script>
<template>
<el-config-provider :locale="appStore.locale" :size="appStore.size">
<router-view />
</el-config-provider>
</template>