From 4460329d2d1195ab3c74fa867dc29a730c9b399f Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 19 Jun 2024 16:46:58 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E8=AF=81=E4=B9=A6=20acme=20=E8=B4=A6=E6=88=B7=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20(#5500)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Refs https://github.com/1Panel-dev/1Panel/issues/3580 --- frontend/src/utils/util.ts | 7 ------- frontend/src/views/website/ssl/create/index.vue | 12 ++---------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/frontend/src/utils/util.ts b/frontend/src/utils/util.ts index 21bd27583..b4d4f0ab8 100644 --- a/frontend/src/utils/util.ts +++ b/frontend/src/utils/util.ts @@ -505,13 +505,6 @@ export async function copyText(content: string) { } } -export function getRuleType(ruleType: string) { - if (ruleType == '') { - return ''; - } - return i18n.global.t(`xpack.waf.${ruleType}`); -} - export function getAction(action: string) { if (action == '') { return ''; diff --git a/frontend/src/views/website/ssl/create/index.vue b/frontend/src/views/website/ssl/create/index.vue index e80b6a881..50d6e1ed7 100644 --- a/frontend/src/views/website/ssl/create/index.vue +++ b/frontend/src/views/website/ssl/create/index.vue @@ -39,16 +39,8 @@ :label="acme.email + ' [' + getAccountName(acme.type) + '] '" :value="acme.id" > - - - {{ acme.email }} - - - - {{ getAccountName(acme.type) }} - - - + {{ acme.email }} + {{ getAccountName(acme.type) }}