mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-06-04 19:13:36 +08:00
fix: 对比模式下关闭 tab-pane 的 lazy,确保差异数能正确统计
This commit is contained in:
parent
62a2ee6693
commit
0f8abf7298
@ -19,7 +19,10 @@
|
|||||||
:is="tabPaneComponent?.component || 'el-tab-pane'"
|
:is="tabPaneComponent?.component || 'el-tab-pane'"
|
||||||
:key="tab[mForm?.keyProp || '__key'] ?? tabIndex"
|
:key="tab[mForm?.keyProp || '__key'] ?? tabIndex"
|
||||||
v-bind="
|
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,
|
||||||
|
}) || {}
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<template #label>
|
<template #label>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user