|
@@ -1,3 +1,4 @@
|
|
|
|
+"use strict";
|
|
import FieldCheck from "./fieldCheck";
|
|
import FieldCheck from "./fieldCheck";
|
|
|
|
|
|
let hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
let hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -28,11 +29,11 @@ function hasOwn (obj, key) {
|
|
* @param {object} [option] 配置项
|
|
* @param {object} [option] 配置项
|
|
*/
|
|
*/
|
|
class FormItem {
|
|
class FormItem {
|
|
- formData;
|
|
|
|
|
|
+ formData = null;
|
|
/**
|
|
/**
|
|
* @type {FieldCheck} 字段验证对象
|
|
* @type {FieldCheck} 字段验证对象
|
|
*/
|
|
*/
|
|
- fieldCheck;
|
|
|
|
|
|
+ fieldCheck = null;
|
|
// 表单状态 默认 0 通过 1 不通过 2
|
|
// 表单状态 默认 0 通过 1 不通过 2
|
|
formState_default = 0;
|
|
formState_default = 0;
|
|
formState_pass = 1;
|
|
formState_pass = 1;
|