From c88c8d293d44f2707f3b5232e6a40a141af9981c Mon Sep 17 00:00:00 2001 From: nsnail Date: Wed, 27 Nov 2024 18:38:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=96=87=E5=AD=97=E6=8F=90=E7=A4=BA=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: tk --- src/frontend/admin/src/components/naColOperation/index.vue | 4 ++-- src/frontend/admin/src/views/sys/cache/index.vue | 1 + src/frontend/admin/src/views/sys/job/all/index.vue | 7 ++++--- src/frontend/admin/src/views/sys/log/login/index.vue | 1 + src/frontend/admin/src/views/sys/log/operation/index.vue | 3 ++- src/frontend/admin/src/views/sys/msg/index.vue | 6 +++--- 6 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/frontend/admin/src/components/naColOperation/index.vue b/src/frontend/admin/src/components/naColOperation/index.vue index 15fb0acd..1afb5f8f 100644 --- a/src/frontend/admin/src/components/naColOperation/index.vue +++ b/src/frontend/admin/src/components/naColOperation/index.vue @@ -12,7 +12,7 @@ @@ -22,7 +22,7 @@ v-else v-loading="loading" :icon="item.icon" - :title="$t(item.title)" + :title="item.title ? $t(item.title) : ''" :type="item.type" @click="click(item, row, vue)" size="small"> diff --git a/src/frontend/admin/src/views/sys/cache/index.vue b/src/frontend/admin/src/views/sys/cache/index.vue index 24aec529..73b231f9 100644 --- a/src/frontend/admin/src/views/sys/cache/index.vue +++ b/src/frontend/admin/src/views/sys/cache/index.vue @@ -87,6 +87,7 @@ :buttons="[ { icon: 'el-icon-view', + title: '查看缓存', click: viewClick, }, { diff --git a/src/frontend/admin/src/views/sys/job/all/index.vue b/src/frontend/admin/src/views/sys/job/all/index.vue index b69852f3..b3f299e4 100644 --- a/src/frontend/admin/src/views/sys/job/all/index.vue +++ b/src/frontend/admin/src/views/sys/job/all/index.vue @@ -70,7 +70,7 @@ ref="search" />
- + @@ -198,6 +198,7 @@ naColOperation.buttons.concat( { icon: 'el-icon-video-play', + title: '立即执行', click: execute, }, { @@ -209,7 +210,7 @@ { icon: 'el-icon-delete', confirm: true, - title: $t('删除作业'), + title: '删除作业', click: rowDel, type: 'danger', }, @@ -223,7 +224,7 @@ diff --git a/src/frontend/admin/src/views/sys/log/login/index.vue b/src/frontend/admin/src/views/sys/log/login/index.vue index f08f4484..c68266fb 100644 --- a/src/frontend/admin/src/views/sys/log/login/index.vue +++ b/src/frontend/admin/src/views/sys/log/login/index.vue @@ -86,6 +86,7 @@ :buttons="[ { icon: 'el-icon-view', + title: '查看', click: rowClick, }, ]" diff --git a/src/frontend/admin/src/views/sys/log/operation/index.vue b/src/frontend/admin/src/views/sys/log/operation/index.vue index df323c2f..3f810cf5 100644 --- a/src/frontend/admin/src/views/sys/log/operation/index.vue +++ b/src/frontend/admin/src/views/sys/log/operation/index.vue @@ -170,6 +170,7 @@ :buttons="[ { icon: 'el-icon-view', + title: '查看', click: rowClick, }, ]" @@ -182,7 +183,7 @@ diff --git a/src/frontend/admin/src/views/sys/msg/index.vue b/src/frontend/admin/src/views/sys/msg/index.vue index 2c340d84..b077921d 100644 --- a/src/frontend/admin/src/views/sys/msg/index.vue +++ b/src/frontend/admin/src/views/sys/msg/index.vue @@ -47,7 +47,7 @@ ref="search" />
- +
@@ -92,7 +92,7 @@ naColOperation.buttons.concat({ icon: 'el-icon-delete', confirm: true, - title: $t('删除消息'), + title: '删除消息', click: rowDel, type: 'danger', }) @@ -105,7 +105,7 @@