From 6d81a5758146bddeecb2d8d25c1b44cd228c9a65 Mon Sep 17 00:00:00 2001 From: dataeaseShu Date: Wed, 11 Dec 2024 10:17:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E7=B3=BB=E7=BB=9F=E8=AE=BE=E7=BD=AE):=20?= =?UTF-8?q?=E6=89=93=E5=BC=80=E6=A1=8C=E9=9D=A2=E7=89=88=E5=90=8E=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E6=89=93=E5=BC=80=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E4=B8=BA=E6=89=93=E5=BC=80=E6=96=B0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E7=BC=96=E8=BE=91=E5=A4=A7=E5=B1=8F=E6=89=93=E5=BC=80?= =?UTF-8?q?=E6=96=B0=E9=A1=B5=E9=9D=A2=E5=90=8E=EF=BC=8C=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=97=A7=E7=9A=84=E9=A1=B5=E9=9D=A2=EF=BC=8C=E6=96=B0=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=B9=9F=E4=BC=9A=E9=9A=8F=E4=B9=8B=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/parameter/basic/BasicInfo.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue b/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue index 39c4a950c1..d93db9a508 100644 --- a/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue +++ b/core/core-frontend/src/views/system/parameter/basic/BasicInfo.vue @@ -53,6 +53,7 @@ import BasicEdit from './BasicEdit.vue' import request from '@/config/axios' import { SettingRecord } from '@/views/system/common/SettingTemplate' import { reactive } from 'vue' +import { isDesktop } from '@/utils/ModelUtil' import { cloneDeep } from 'lodash-es' import { useI18n } from '@/hooks/web/useI18n' const { t } = useI18n() @@ -61,6 +62,7 @@ const infoTemplate = ref() const loginTemplate = ref() const thirdTemplate = ref() const showDefaultLogin = ref(false) +const desktop = isDesktop() const pvpOptions = [ { value: '0', label: t('commons.date.permanent') }, { value: '1', label: t('commons.date.one_year') }, @@ -147,7 +149,11 @@ const selectedRName = ref([]) const selectedPvp = ref('0') const baseInfoSettings = computed(() => - state.templateList.filter(item => !loginSettings.concat(thirdSettings).includes(item.pkey)) + state.templateList.filter( + item => + !loginSettings.concat(thirdSettings).includes(item.pkey) && + (!desktop || item.pkey !== 'setting_basic.defaultOpen') + ) ) const thirdInfoSettings = computed(() =>