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) }}