@zhubangyun/lowcode-core 5.8.290 → 5.8.291

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.
@@ -19,14 +19,20 @@ function _handleFormSchema() {
19
19
  return _regeneratorRuntime.wrap(function _callee$(_context) {
20
20
  while (1) switch (_context.prev = _context.next) {
21
21
  case 0:
22
+ if (!((schema === null || schema === void 0 ? void 0 : schema.componentName) != "Page")) {
23
+ _context.next = 2;
24
+ break;
25
+ }
26
+ return _context.abrupt("return");
27
+ case 2:
22
28
  formFieldSchema = new FormFieldSchema(schema.children[0], null);
23
29
  fdmItems = [];
24
30
  fieldIdMap = new Map();
25
31
  schema.state = schema.state || {};
26
32
  schema.methods = schema.methods || {};
27
- _context.next = 7;
33
+ _context.next = 9;
28
34
  return handleAssociationForm(formFieldSchema, schema);
29
- case 7:
35
+ case 9:
30
36
  //初次处理
31
37
  forEachFormSchema(schema, function (field) {
32
38
  if (field.fdmSchema) {
@@ -47,15 +53,15 @@ function _handleFormSchema() {
47
53
 
48
54
  //处理查询列
49
55
  _i = 0, _fdmItems = fdmItems;
50
- case 9:
56
+ case 11:
51
57
  if (!(_i < _fdmItems.length)) {
52
- _context.next = 17;
58
+ _context.next = 19;
53
59
  break;
54
60
  }
55
61
  fdmField = _fdmItems[_i];
56
- _context.next = 13;
62
+ _context.next = 15;
57
63
  return handleFdmAssociationAttributeFields(formFieldSchema, fdmField.fdmSchema);
58
- case 13:
64
+ case 15:
59
65
  forEachFormSchema(fdmField.fdmSchema, function (field) {
60
66
  var _field$props;
61
67
  var findSchema = fieldIdMap.get((_field$props = field.props) === null || _field$props === void 0 ? void 0 : _field$props.fieldId);
@@ -92,11 +98,11 @@ function _handleFormSchema() {
92
98
  }
93
99
  return true;
94
100
  });
95
- case 14:
101
+ case 16:
96
102
  _i++;
97
- _context.next = 9;
103
+ _context.next = 11;
98
104
  break;
99
- case 17:
105
+ case 19:
100
106
  case "end":
101
107
  return _context.stop();
102
108
  }
@@ -25,14 +25,20 @@ function _handleFormSchema() {
25
25
  return _regenerator["default"].wrap(function _callee$(_context) {
26
26
  while (1) switch (_context.prev = _context.next) {
27
27
  case 0:
28
+ if (!((schema === null || schema === void 0 ? void 0 : schema.componentName) != "Page")) {
29
+ _context.next = 2;
30
+ break;
31
+ }
32
+ return _context.abrupt("return");
33
+ case 2:
28
34
  formFieldSchema = new FormFieldSchema(schema.children[0], null);
29
35
  fdmItems = [];
30
36
  fieldIdMap = new Map();
31
37
  schema.state = schema.state || {};
32
38
  schema.methods = schema.methods || {};
33
- _context.next = 7;
39
+ _context.next = 9;
34
40
  return handleAssociationForm(formFieldSchema, schema);
35
- case 7:
41
+ case 9:
36
42
  //初次处理
37
43
  forEachFormSchema(schema, function (field) {
38
44
  if (field.fdmSchema) {
@@ -53,15 +59,15 @@ function _handleFormSchema() {
53
59
 
54
60
  //处理查询列
55
61
  _i = 0, _fdmItems = fdmItems;
56
- case 9:
62
+ case 11:
57
63
  if (!(_i < _fdmItems.length)) {
58
- _context.next = 17;
64
+ _context.next = 19;
59
65
  break;
60
66
  }
61
67
  fdmField = _fdmItems[_i];
62
- _context.next = 13;
68
+ _context.next = 15;
63
69
  return handleFdmAssociationAttributeFields(formFieldSchema, fdmField.fdmSchema);
64
- case 13:
70
+ case 15:
65
71
  forEachFormSchema(fdmField.fdmSchema, function (field) {
66
72
  var _field$props;
67
73
  var findSchema = fieldIdMap.get((_field$props = field.props) === null || _field$props === void 0 ? void 0 : _field$props.fieldId);
@@ -98,11 +104,11 @@ function _handleFormSchema() {
98
104
  }
99
105
  return true;
100
106
  });
101
- case 14:
107
+ case 16:
102
108
  _i++;
103
- _context.next = 9;
109
+ _context.next = 11;
104
110
  break;
105
- case 17:
111
+ case 19:
106
112
  case "end":
107
113
  return _context.stop();
108
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhubangyun/lowcode-core",
3
- "version": "5.8.290",
3
+ "version": "5.8.291",
4
4
  "description": "低代码核心",
5
5
  "files": [
6
6
  "lib",