From 3c5ab1c68a88e5564587dbb04266b2f275adbbec Mon Sep 17 00:00:00 2001 From: zhengkunwang223 Date: Mon, 26 Dec 2022 13:56:23 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E5=80=BC=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/lang/modules/zh.ts | 4 ++++ frontend/src/views/website/ssl/create/index.vue | 17 +++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/frontend/src/lang/modules/zh.ts b/frontend/src/lang/modules/zh.ts index 0610f3953..df1058b7f 100644 --- a/frontend/src/lang/modules/zh.ts +++ b/frontend/src/lang/modules/zh.ts @@ -930,6 +930,10 @@ export default { provider: '类型', manualCreate: '手动创建', acmeAccount: 'Acme 账号', + resolveDomain: '解析域名', + err: '错误', + value: '记录值', + type: '类型', }, firewall: { ccDeny: 'CC 防护', diff --git a/frontend/src/views/website/ssl/create/index.vue b/frontend/src/views/website/ssl/create/index.vue index 0d3399cbb..57ecaec20 100644 --- a/frontend/src/views/website/ssl/create/index.vue +++ b/frontend/src/views/website/ssl/create/index.vue @@ -51,14 +51,16 @@
- {{ re.domain }} + {{ re.domain }}
- {{ re.err }} + {{ re.err }}
- {{ re.resolve }} - {{ re.value }} - TXT + + {{ re.resolve }} + + {{ re.value }} + TXT
@@ -137,15 +139,14 @@ const resetForm = () => { otherDomains: '', provider: 'dnsAccount', websiteId: 0, - acmeAccountId: 0, - dnsAccountId: 0, + acmeAccountId: undefined, + dnsAccountId: undefined, }; }; const acceptParams = () => { resetForm(); ssl.value.websiteId = Number(id.value); - // getWebsite(id.value); getAcmeAccounts(); getDnsAccounts(); open.value = true;