From 0f8abf729854f5bfc3fbad98153a77e947ead246 Mon Sep 17 00:00:00 2001 From: roymondchen Date: Thu, 28 May 2026 19:32:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E6=AF=94=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=8B=E5=85=B3=E9=97=AD=20tab-pane=20=E7=9A=84=20lazy?= =?UTF-8?q?=EF=BC=8C=E7=A1=AE=E4=BF=9D=E5=B7=AE=E5=BC=82=E6=95=B0=E8=83=BD?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E7=BB=9F=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/form/src/containers/Tabs.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/form/src/containers/Tabs.vue b/packages/form/src/containers/Tabs.vue index a7d66d90..7aedcb91 100644 --- a/packages/form/src/containers/Tabs.vue +++ b/packages/form/src/containers/Tabs.vue @@ -19,7 +19,10 @@ :is="tabPaneComponent?.component || 'el-tab-pane'" :key="tab[mForm?.keyProp || '__key'] ?? tabIndex" v-bind=" - tabPaneComponent?.props({ name: filter(tab.status) || tabIndex.toString(), lazy: tab.lazy || false }) || {} + tabPaneComponent?.props({ + name: filter(tab.status) || tabIndex.toString(), + lazy: isCompare ? false : tab.lazy || false, + }) || {} " >