From 53eee6c85775eead21d3829ad326cc9010c6389a Mon Sep 17 00:00:00 2001 From: ibuler <ibuler@qq.com> Date: Mon, 31 Jul 2023 10:34:40 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E4=B8=B4=E6=97=B6?= =?UTF-8?q?=E5=AF=86=E7=A0=81=E7=9A=84=20icon?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/langs/zh.json | 2 +- src/icons/svg/unlock-one.svg | 1 + src/layout/components/NavHeader/AccountDropdown.vue | 2 +- .../settings/Applet/AppletHost/AppletHostCreateUpdate.vue | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/icons/svg/unlock-one.svg diff --git a/src/i18n/langs/zh.json b/src/i18n/langs/zh.json index b36667d14..8721a8629 100644 --- a/src/i18n/langs/zh.json +++ b/src/i18n/langs/zh.json @@ -1611,7 +1611,7 @@ "LDAPUser": "LDAP 用户", "helpText": { "TempPassword": "临时密码有效期为 300 秒,使用后立刻失效", - "ApiKeyList": "使用api key签名请求头,每个请求的头部是不一样的, 请查阅使用文档", + "ApiKeyList": "使用 Api key 签名请求头进行认证,每个请求的头部是不一样的, 相对于 Token 方式,更加安全,请查阅文档使用", "ConnectionTokenList": "连接令牌是将身份验证和连接资产结合起来使用的一种认证信息,支持用户一键登录到资产,目前支持的组件包括:KoKo、Lion、Magnus、Razor 等", "authLdapSearchFilter": "可能的选项是(cn或uid或sAMAccountName=%(user)s)", "authLdapSearchOu": "使用|分隔各OU", diff --git a/src/icons/svg/unlock-one.svg b/src/icons/svg/unlock-one.svg new file mode 100644 index 000000000..e6f42be3c --- /dev/null +++ b/src/icons/svg/unlock-one.svg @@ -0,0 +1 @@ +<?xml version="1.0" encoding="UTF-8"?><svg width="32" height="32" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="7" y="22.0476" width="34" height="22" rx="2" fill="none" stroke="#616266" stroke-width="4" stroke-linejoin="round"/><path d="M14 22V14.0047C13.9948 8.87022 17.9227 4.56718 23.0859 4.05117C28.249 3.53516 32.9673 6.97408 34 12.0059" stroke="#616266" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/><path d="M24 30V36" stroke="#616266" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg> diff --git a/src/layout/components/NavHeader/AccountDropdown.vue b/src/layout/components/NavHeader/AccountDropdown.vue index 0a17efcb2..2cd70ff79 100644 --- a/src/layout/components/NavHeader/AccountDropdown.vue +++ b/src/layout/components/NavHeader/AccountDropdown.vue @@ -19,7 +19,7 @@ v-if="$store.getters.publicSettings.AUTH_TEMP_TOKEN && $hasPerm('authentication.view_temptoken')" command="tempPassword" > - <svg-icon class="icon" icon-class="personal" /> + <svg-icon class="icon" icon-class="unlock-one" /> {{ $t('common.nav.TempPassword') }} </el-dropdown-item> <el-dropdown-item v-if="$hasPerm('authentication.view_connectiontoken')" command="connectionToken"> diff --git a/src/views/settings/Applet/AppletHost/AppletHostCreateUpdate.vue b/src/views/settings/Applet/AppletHost/AppletHostCreateUpdate.vue index a7354a590..d102b9221 100644 --- a/src/views/settings/Applet/AppletHost/AppletHostCreateUpdate.vue +++ b/src/views/settings/Applet/AppletHost/AppletHostCreateUpdate.vue @@ -24,8 +24,8 @@ export default { }, deploy_options: { fields: [ - 'CORE_HOST', 'IGNORE_VERIFY_CERTS', 'RDS_Licensing', 'RDS_LicenseServer', 'RDS_LicensingMode', - 'RDS_fSingleSessionPerUser', 'RDS_MaxDisconnectionTime', + 'CORE_HOST', 'IGNORE_VERIFY_CERTS', 'RDS_Licensing', 'RDS_LicenseServer', + 'RDS_LicensingMode', 'RDS_fSingleSessionPerUser', 'RDS_MaxDisconnectionTime', 'RDS_RemoteAppLogoffTimeLimit' ], fieldsMeta: {