From 4de15ae80f05b4b4a62e56432e85ea077f3d678f Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Sat, 11 Feb 2023 22:41:22 +0800 Subject: [PATCH] use api key --- src/components/api/Form.vue | 12 ++++++------ src/i18n/zh/application/message.ts | 3 ++- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/components/api/Form.vue b/src/components/api/Form.vue index 37d8c0a0..6f98ce2a 100644 --- a/src/components/api/Form.vue +++ b/src/components/api/Form.vue @@ -5,14 +5,14 @@
{{ itemKey }} {{ item?.type }} - required + {{ $t('application.message.requiredParameter') }}
{{ item?.title }}
-
+

@@ -48,12 +48,12 @@ :placeholder="$t('common.title.placeholderOfSelect')" > - {{ appliedApplication?.api_key }} + {{ appliedApplication?.credential?.token }} {{ $t('application.message.yourApplication') }} diff --git a/src/i18n/zh/application/message.ts b/src/i18n/zh/application/message.ts index 5467f5a0..d6b92c67 100644 --- a/src/i18n/zh/application/message.ts +++ b/src/i18n/zh/application/message.ts @@ -4,5 +4,6 @@ export default { notApplied: '你尚未申请过该服务,请先申请该服务之后使用', yourApplication: '你的申请', unverified: '您需要完成实名认证之后方可申请该服务', - goVerify: '去实名认证' + goVerify: '去实名认证', + requiredParameter: '必填参数' };