1
0
mirror of https://github.com/chatopera/cosin.git synced 2025-08-01 16:38:02 +08:00

add: watermark

Signed-off-by: Kaifuny <superbiger.github@gmail.com>
This commit is contained in:
Kaifuny 2023-07-24 16:49:11 +08:00
parent f32879cada
commit 9957ad82bb

View File

@ -10,6 +10,7 @@ import {
NSpace,
NButton,
NDropdown,
NWatermark,
} from 'naive-ui'
</script>
<template>
@ -44,7 +45,20 @@ import {
</n-dropdown>
</n-space>
</template>
<n-watermark
content="核心机密"
cross
selectable
:font-size="23"
:line-height="16"
:width="192"
:height="128"
:x-offset="12"
:y-offset="28"
:rotate="-15"
>
<router-view></router-view>
</n-watermark>
</n-page-header>
</n-layout-content>
</n-layout>