From 246f171d22dd682d64aa13efd15a1968a6ed354a Mon Sep 17 00:00:00 2001 From: guoyuqi Date: Wed, 14 Aug 2024 10:43:20 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=89=AB=E7=A0=81=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=8E=A7=E5=88=B6=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --bug=1045016 --user=郭雨琦 https://www.tapd.cn/55049933/bugtrace/bugs/view/1155049933001045016 --- frontend/src/models/setting/qrCode.ts | 2 ++ .../system/config/components/qrCodeConfig.vue | 17 ++++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/frontend/src/models/setting/qrCode.ts b/frontend/src/models/setting/qrCode.ts index 612af3e595..e29a899c1d 100644 --- a/frontend/src/models/setting/qrCode.ts +++ b/frontend/src/models/setting/qrCode.ts @@ -32,6 +32,7 @@ export interface PlatformSource { platform: string; enable: boolean; valid: boolean; + hasConfig: boolean; } export interface PlatformConfigItem { @@ -42,6 +43,7 @@ export interface PlatformConfigItem { valid: boolean; logo: string; edit: boolean; + hasConfig: boolean; } export type PlatformSourceList = PlatformSource[]; diff --git a/frontend/src/views/setting/system/config/components/qrCodeConfig.vue b/frontend/src/views/setting/system/config/components/qrCodeConfig.vue index 2f68148901..1a5610e243 100644 --- a/frontend/src/views/setting/system/config/components/qrCodeConfig.vue +++ b/frontend/src/views/setting/system/config/components/qrCodeConfig.vue @@ -20,7 +20,7 @@

{{ item.title }} - {{ t('organization.service.unconfigured') }} + {{ t('organization.service.unconfigured') }}

- + {{ t('organization.service.testLink') }} ([]); @@ -234,6 +240,7 @@ filterKey.enable = dataKey.enable; filterKey.valid = dataKey.valid; filterKey.edit = true; + filterKey.hasConfig = dataKey.hasConfig; } }); });