From 0396d398bea811f5650d04ce5b55a232b4f58b98 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Thu, 27 Mar 2025 17:07:52 +0800 Subject: [PATCH] 移除 link-rules --- forms/form/CForm.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/forms/form/CForm.vue b/forms/form/CForm.vue index 944feef..7245951 100644 --- a/forms/form/CForm.vue +++ b/forms/form/CForm.vue @@ -1,5 +1,8 @@ /** * CForm - 表单套装组件,套件的主体 + * 表单容器组件,用于管理表单数据、处理表单验证和提交 + * 支持自动滚动到错误位置,提供表单项变化回调和表单完成回调 + * 提供手动提交、预验证和错误设置等功能 * @author Tevin */ @@ -142,7 +145,7 @@ Object.keys(errors).forEach(errorKey => { if (typeof this.validators[errorKey] !== 'undefined') { checklist.push( - this.validators[errorKey]('setError', errors[errorKey]) + this.validators[errorKey]('setError', errors[errorKey]), ); } else { unchecks.push(errors[errorKey]); -- Gitblit v1.9.1