From 9243a6699c36fc904057fbed30d517cf211a8ed8 Mon Sep 17 00:00:00 2001 From: "Jiangjie.Bai" Date: Fri, 15 Apr 2022 16:39:04 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E7=B3=BB=E7=BB=9F=E7=9B=91=E6=8E=A7?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0Magnus?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/settings/Terminal/Monitor/component/MonitorCard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/settings/Terminal/Monitor/component/MonitorCard.vue b/src/views/settings/Terminal/Monitor/component/MonitorCard.vue index 3f553f0b0..7816e873a 100644 --- a/src/views/settings/Terminal/Monitor/component/MonitorCard.vue +++ b/src/views/settings/Terminal/Monitor/component/MonitorCard.vue @@ -90,7 +90,8 @@ export default { lion: 'Lion', xrdp: 'XRDP', core: 'Core', - celery: 'Celery' + celery: 'Celery', + magnus: 'Magnus' } return nameMapper[this.componentMetric.type] } From 2c2e7d10f989ca8b04fee5c429b181bef3ab3e9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chuailei000=E2=80=9D?= <2280131253@qq.com> Date: Fri, 15 Apr 2022 16:44:23 +0800 Subject: [PATCH 2/4] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9F=A5=E7=9C=8B=E3=80=81=E5=A4=8D=E5=88=B6=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TableFormatters/ShowKeyCopyFormatter.vue | 82 +++++++++++++++++++ src/components/TableFormatters/index.js | 3 + src/i18n/langs/en.json | 1 + src/i18n/langs/ja.json | 1 + src/i18n/langs/zh.json | 1 + src/views/profile/ApiKey.vue | 4 +- 6 files changed, 90 insertions(+), 2 deletions(-) create mode 100644 src/components/TableFormatters/ShowKeyCopyFormatter.vue diff --git a/src/components/TableFormatters/ShowKeyCopyFormatter.vue b/src/components/TableFormatters/ShowKeyCopyFormatter.vue new file mode 100644 index 000000000..6ce047a24 --- /dev/null +++ b/src/components/TableFormatters/ShowKeyCopyFormatter.vue @@ -0,0 +1,82 @@ + + + + diff --git a/src/components/TableFormatters/index.js b/src/components/TableFormatters/index.js index 18413ed41..8cbb56dde 100644 --- a/src/components/TableFormatters/index.js +++ b/src/components/TableFormatters/index.js @@ -7,6 +7,7 @@ import DeleteActionFormatter from './DeleteActionFormatter' import DateFormatter from './DateFormatter' import SystemUserFormatter from './GrantedSystemUsersShowFormatter' import ShowKeyFormatter from '@/components/TableFormatters/ShowKeyFormatter' +import ShowKeyCopyFormatter from './ShowKeyCopyFormatter' import DialogDetailFormatter from './DialogDetailFormatter' import EditableInputFormatter from './EditableInputFormatter' import StatusFormatter from './StatusFormatter' @@ -21,6 +22,7 @@ export default { DateFormatter, SystemUserFormatter, ShowKeyFormatter, + ShowKeyCopyFormatter, DialogDetailFormatter, ArrayFormatter, EditableInputFormatter, @@ -37,6 +39,7 @@ export { DateFormatter, SystemUserFormatter, ShowKeyFormatter, + ShowKeyCopyFormatter, DialogDetailFormatter, ArrayFormatter, EditableInputFormatter, diff --git a/src/i18n/langs/en.json b/src/i18n/langs/en.json index 7a1eacd37..ade7ff2e6 100644 --- a/src/i18n/langs/en.json +++ b/src/i18n/langs/en.json @@ -315,6 +315,7 @@ "Disable": "Disable", "Download": "Download", "Copy": "Copy", + "CopySuccess": "Copy success", "Enable": "Enable", "On/Off": "On/Off", "EnterForSearch": "Press enter to search", diff --git a/src/i18n/langs/ja.json b/src/i18n/langs/ja.json index e7ab41908..c07ea6ed6 100644 --- a/src/i18n/langs/ja.json +++ b/src/i18n/langs/ja.json @@ -327,6 +327,7 @@ "Disable": "無効", "Download": "ダウンロード", "Copy": "コピー", + "CopySuccess": "コピー成功", "Enable": "有効化", "On/Off": "起動/停止", "EnterForSearch": "Enterキーを押して検索します", diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index d10c496e9..df2ec91cc 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -328,6 +328,7 @@ "Disable": "禁用", "Download": "下载", "Copy": "复制", + "CopySuccess": "复制成功", "Enable": "启用", "On/Off": "启/停", "EnterForSearch": "按回车进行搜索", diff --git a/src/views/profile/ApiKey.vue b/src/views/profile/ApiKey.vue index 474c50e29..aded174ea 100644 --- a/src/views/profile/ApiKey.vue +++ b/src/views/profile/ApiKey.vue @@ -9,7 +9,7 @@