From 02f5f4261eecd95b92c44be63685b32ff74da86a Mon Sep 17 00:00:00 2001 From: feng <1304903146@qq.com> Date: Mon, 24 Jun 2024 10:48:33 +0800 Subject: [PATCH 1/2] perf: Translate --- src/views/ops/Job/index.vue | 1 + src/views/settings/Applet/AppletHost/AppletHostDetail/index.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/ops/Job/index.vue b/src/views/ops/Job/index.vue index eef418216..1ef038a82 100644 --- a/src/views/ops/Job/index.vue +++ b/src/views/ops/Job/index.vue @@ -56,6 +56,7 @@ export default { width: '240px' }, summary: { + label: this.$t('Summary'), formatter: (row) => { return row.summary['success'] + '/' + row.summary['total'] } diff --git a/src/views/settings/Applet/AppletHost/AppletHostDetail/index.vue b/src/views/settings/Applet/AppletHost/AppletHostDetail/index.vue index bb3e91bc2..b3e1137f9 100644 --- a/src/views/settings/Applet/AppletHost/AppletHostDetail/index.vue +++ b/src/views/settings/Applet/AppletHost/AppletHostDetail/index.vue @@ -41,7 +41,7 @@ export default { 'name': 'Detail' }, { - title: this.$t('Accounts'), + title: this.$t('AssetAccount'), name: 'Accounts' }, { From e3f5f948c371b9c743348fced509985e1a9b6b31 Mon Sep 17 00:00:00 2001 From: wangruidong <940853815@qq.com> Date: Mon, 24 Jun 2024 10:50:07 +0800 Subject: [PATCH 2/2] perf: Optimize SSH key form in personal information settings --- src/views/profile/PasswordAndSSHKey/SSHKey.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/profile/PasswordAndSSHKey/SSHKey.vue b/src/views/profile/PasswordAndSSHKey/SSHKey.vue index f1f4d1c74..16360a770 100644 --- a/src/views/profile/PasswordAndSSHKey/SSHKey.vue +++ b/src/views/profile/PasswordAndSSHKey/SSHKey.vue @@ -64,7 +64,7 @@ export default { }, methods: { afterGetFormValue(value) { - const publicKey = `${value['public_key_comment'] || '-'} (${value['public_key_hash_md5'] || '-'})` + const publicKey = value['public_key_hash_md5'] ? `${value['public_key_comment']} (${value['public_key_hash_md5']})` : ' ' value['current_public_key'] = publicKey return value },