diff --git a/packages/form/src/containers/Container.vue b/packages/form/src/containers/Container.vue index 2be03d57..4c3f6cb8 100644 --- a/packages/form/src/containers/Container.vue +++ b/packages/form/src/containers/Container.vue @@ -5,7 +5,9 @@ :class="`m-form-container m-container-${type || ''} ${config.className || ''}${config.tip ? ' has-tip' : ''}`" :style="config.style" > - + + + { * 无法校验到这些标签页内的字段。校验场景需要一次性渲染全部字段,故在此统一去除 lazy。 * 处理基于深拷贝,不会污染调用方传入的原始 config。 */ -const stripTabItemsLazy = (config: FormConfig): FormConfig => { +export const stripTabItemsLazy = (config: FormConfig): FormConfig => { const cloned = cloneConfigValue(config); removeTabItemsLazy(cloned); return cloned;