From 85c9e0ced0b13524a8fb3166cce69a77bf1e2f7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BC=BA?= <1206709430@qq.com> Date: Fri, 21 Apr 2023 14:11:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=8E=A8=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=89=8D=E7=AB=AF=E9=A1=B5=E9=9D=A2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dashboard/workbench/components/about.vue | 10 +- .../workbench/components/attachmentTotal.vue | 6 +- .../workbench/components/databaseTotal.vue | 6 +- .../workbench/components/loginTotal.vue | 6 +- .../workbench/components/registeredUser.vue | 26 +++- .../dashboard/workbench/components/time.vue | 9 +- .../workbench/components/userLogin.vue | 28 ++-- .../workbench/components/usersActive.vue | 30 ++++- .../workbench/components/usersTotal.vue | 6 +- .../dashboard/workbench/components/ver.vue | 19 ++- .../workbench/components/welcome.vue | 13 +- web/src/views/dashboard/workbench/index.vue | 26 ++-- web/src/views/dashboard/workbench/init.js | 127 +++++++++--------- 13 files changed, 188 insertions(+), 124 deletions(-) diff --git a/web/src/views/dashboard/workbench/components/about.vue b/web/src/views/dashboard/workbench/components/about.vue index 689f817..2c274f6 100644 --- a/web/src/views/dashboard/workbench/components/about.vue +++ b/web/src/views/dashboard/workbench/components/about.vue @@ -36,7 +36,7 @@ export default { fontColor: { label: '字体颜色', type: 'color', - value: '#ffffff', + value: '', placeholder: '请选择字体颜色' } }, @@ -55,7 +55,7 @@ export default { if (this.config?.color?.value) { return this.config.color.value } - return this.color || this.$util.randomColor() + return this.$util.randomColor() } } } @@ -63,11 +63,11 @@ export default {