From 160272de5778bddbd8386f647258c95ecf9e02a5 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 19 Dec 2023 11:39:07 +0800
Subject: [PATCH] 水印处理
---
src/App.vue | 29 -----------------------------
1 files changed, 0 insertions(+), 29 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index a5b920b..4a72c1d 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,36 +5,7 @@
</template>
<script>
-import Watermark from "./warterMarkVUE"
-import { getStore } from "@/util/store"
-export default {
- name: "app",
- data () {
- return {
- globalUserInfo: getStore({ name: "userInfo" }),
- }
- },
- watch: {},
- created () {
- Watermark.set("饶城格格通" + ' ' + this.globalUserInfo.user_name + ' ' + this.getTime())
- },
- mounted () {
- },
- methods: {
- getTime () {
- var date = new Date()
- var Y = date.getFullYear() + '-'
- var M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
- var D = (date.getDate() < 10 ? '0' + date.getDate() : date.getDate()) + ' '
- var h = (date.getHours() < 10 ? '0' + date.getHours() : date.getHours()) + ':'
- var m = (date.getMinutes() < 10 ? '0' + date.getMinutes() : date.getMinutes()) + ':'
- var s = (date.getSeconds() < 10 ? '0' + date.getSeconds() : date.getSeconds())
- return Y + M + D + h + m + s
- },
- },
- computed: {}
-}
</script>
<style lang="scss">
--
Gitblit v1.9.3