mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 抽离水印的组件
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
import EditWatermark from './index.vue'
|
||||
|
||||
export { EditWatermark }
|
||||
@@ -0,0 +1,27 @@
|
||||
<template>
|
||||
<n-watermark
|
||||
id="go-edit-watermark"
|
||||
:content="watermarkText"
|
||||
cross
|
||||
selectable
|
||||
:font-size="16"
|
||||
:line-height="16"
|
||||
:width="500"
|
||||
:height="150"
|
||||
:x-offset="12"
|
||||
:y-offset="80"
|
||||
:rotate="-15"
|
||||
></n-watermark>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { watermarkText } from '@/settings/designSetting'
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
#go-edit-watermark {
|
||||
display: none;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user