From 32b09ee84d7187800a7a10f2264b8b4e30fc574a Mon Sep 17 00:00:00 2001 From: ‘chensiAb’ <‘chenchenco03@163.com’> Date: Mon, 31 Mar 2025 16:35:18 +0800 Subject: [PATCH] feat:测试腾讯地图和百度api的转换 --- 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