From d188a73a5eb50438a469c00aa0df9f68507f3fe5 Mon Sep 17 00:00:00 2001 From: jiangping <jp@doumee.com> Date: 星期五, 11 四月 2025 17:36:48 +0800 Subject: [PATCH] 代码初始化 --- admin/src/views/index.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue index 200e440..6633936 100644 --- a/admin/src/views/index.vue +++ b/admin/src/views/index.vue @@ -225,8 +225,10 @@ } }, created () { + }, mounted () { + this.updateDate() // this.initData() }, methods: { @@ -243,8 +245,9 @@ this.$router.push(item.path) }, updateDate () { - this.nowDate = dayjs().format('YYYY骞碝鏈圖鏃�') this.nowWeek = weeks[new Date().getDay()] + this.nowDate = dayjs().format('YYYY骞碝鏈圖鏃�') + }, initData () { this.getWorkHead() @@ -1009,8 +1012,8 @@ width: 100%; height: 200px; padding: 20px; - color: #fff; - background: linear-gradient(180deg, #0c6ce3 0%, rgba(32, 127, 247, 0) 100%); +/* color: #fff; + background: linear-gradient(180deg, #0c6ce3 0%, rgba(32, 127, 247, 0) 100%);*/ } } </style> -- Gitblit v1.9.3