From 3a33164e8deb5ba7686996a01f16e7feab39e6fe Mon Sep 17 00:00:00 2001 From: yufei0306 <13417315+yufei0306@user.noreply.gitee.com> Date: Tue, 23 Apr 2024 10:17:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=95=B0=E6=8D=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/Detail.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index e6fe04d8c..d3308ecf0 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -409,10 +409,13 @@ if (!tabsList.value || tabsList.value && tabsList.value.length == otherList.leng prop: 'Detail' }) } -tabsList.value.unshift({ +if(!props.isBasic){ + tabsList.value.unshift({ label: '主数据', prop: 'Descriptions' -}) + }) +} + // Tabs const tabRef = ref()