@byteluck-fe/model-driven-upgrade 2.2.2-beta.13 → 2.2.2-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,6 +103,19 @@ function conversion(schema, payload) {
103
103
  }
104
104
  });
105
105
  }
106
+ //兼容老数据数据填充是否开启,老数据默认开启
107
+ if ([
108
+ CONTROL_TYPE.SELECT,
109
+ CONTROL_TYPE.SELECT_RELATION,
110
+ CONTROL_TYPE.SELECT_MULTIPLE,
111
+ CONTROL_TYPE.RADIO,
112
+ CONTROL_TYPE.CHECKBOX,
113
+ CONTROL_TYPE.TREE,
114
+ CONTROL_TYPE.DEPARTMENT2,
115
+ CONTROL_TYPE.EMPLOYEE2
116
+ ].includes(schema.type)) {
117
+ schema.props.openMultistageFilling = true;
118
+ }
106
119
  return schema;
107
120
  }
108
121
  export { dataCleaner };