@cniot/mdd-editor 0.2.0-beta.31 → 0.2.0-beta.32

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.
package/build/index.es.js CHANGED
@@ -24647,13 +24647,8 @@ const TitleRender$2 = (props) => {
24647
24647
  onClick: onRemove
24648
24648
  }));
24649
24649
  };
24650
- const watchFields = (listSchema) => {
24651
- const fieldStringArray = listSchema.map((item) => {
24652
- return `${item.label}_${item.name}`;
24653
- });
24654
- return fieldStringArray.join(",");
24655
- };
24656
24650
  const ContentRender$2 = (props) => {
24651
+ var _a2, _b2;
24657
24652
  const { values, effects, onChange, schema, index: index2, extraFieldSchema: extraFieldSchema2, updateForceFLag, listSchema } = props;
24658
24653
  const { type, label, name } = values;
24659
24654
  const { formilySchema: formilySchema2, dataAdaptor: dataAdaptor2 } = schema || {};
@@ -24665,7 +24660,7 @@ const ContentRender$2 = (props) => {
24665
24660
  debounce_1(() => {
24666
24661
  setUuid(uuidv4());
24667
24662
  }, 500),
24668
- [watchFields(listSchema)]
24663
+ [`${(_a2 = props == null ? void 0 : props.values) == null ? void 0 : _a2.label}_${(_b2 = props == null ? void 0 : props.values) == null ? void 0 : _b2.name}`]
24669
24664
  );
24670
24665
  const realSchema = useMemo(() => {
24671
24666
  const srcSchema = getRealSchema(formilySchema2 || schema, { moduleDataSource, listSchema, blocksDataSource });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cniot/mdd-editor",
3
- "version": "0.2.0-beta.31",
3
+ "version": "0.2.0-beta.32",
4
4
  "description": "模型驱动编辑器",
5
5
  "scripts": {
6
6
  "build": "vite build"