@zzdadelu/schema-builder 1.0.0-alpha.82 → 1.0.0-alpha.88
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/es/main.js +2 -2
- package/lib/main.js +2 -2
- package/package.json +1 -1
package/es/main.js
CHANGED
|
@@ -55,7 +55,7 @@ var Design = function Design(props, ref) {
|
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
console.log('iframe init engine start1', iframe);
|
|
58
|
-
console.log('iframe init engine start2', (_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : _iframe3.contentWindow);
|
|
58
|
+
console.log('iframe init engine start2', (_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : _iframe3.contentWindow[0].getFormRenderMaterial);
|
|
59
59
|
(_iframe4 = iframe) === null || _iframe4 === void 0 ? void 0 : (_iframe4$contentWindo = _iframe4.contentWindow) === null || _iframe4$contentWindo === void 0 ? void 0 : (_iframe4$contentWindo2 = _iframe4$contentWindo.__FR_ENGINE__) === null || _iframe4$contentWindo2 === void 0 ? void 0 : _iframe4$contentWindo2.init(_objectSpread({
|
|
60
60
|
settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
|
|
61
61
|
widgets: widgets,
|
|
@@ -65,7 +65,7 @@ var Design = function Design(props, ref) {
|
|
|
65
65
|
}
|
|
66
66
|
}, restProps));
|
|
67
67
|
console.log('iframe init engine end1', iframe);
|
|
68
|
-
console.log('iframe init engine
|
|
68
|
+
console.log('iframe init engine start2', (_iframe5 = iframe) === null || _iframe5 === void 0 ? void 0 : _iframe5.contentWindow[0].getFormRenderMaterial);
|
|
69
69
|
};
|
|
70
70
|
useEffect(function () {
|
|
71
71
|
// 模拟 return 前的延迟
|
package/lib/main.js
CHANGED
|
@@ -63,7 +63,7 @@ var Design = function Design(props, ref) {
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
console.log('iframe init engine start1', iframe);
|
|
66
|
-
console.log('iframe init engine start2', (_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : _iframe3.contentWindow);
|
|
66
|
+
console.log('iframe init engine start2', (_iframe3 = iframe) === null || _iframe3 === void 0 ? void 0 : _iframe3.contentWindow[0].getFormRenderMaterial);
|
|
67
67
|
(_iframe4 = iframe) === null || _iframe4 === void 0 ? void 0 : (_iframe4$contentWindo = _iframe4.contentWindow) === null || _iframe4$contentWindo === void 0 ? void 0 : (_iframe4$contentWindo2 = _iframe4$contentWindo.__FR_ENGINE__) === null || _iframe4$contentWindo2 === void 0 ? void 0 : _iframe4$contentWindo2.init(_objectSpread({
|
|
68
68
|
settings: _objectSpread(_objectSpread({}, defaultSetting), settings),
|
|
69
69
|
widgets: widgets,
|
|
@@ -73,7 +73,7 @@ var Design = function Design(props, ref) {
|
|
|
73
73
|
}
|
|
74
74
|
}, restProps));
|
|
75
75
|
console.log('iframe init engine end1', iframe);
|
|
76
|
-
console.log('iframe init engine
|
|
76
|
+
console.log('iframe init engine start2', (_iframe5 = iframe) === null || _iframe5 === void 0 ? void 0 : _iframe5.contentWindow[0].getFormRenderMaterial);
|
|
77
77
|
};
|
|
78
78
|
(0, _react.useEffect)(function () {
|
|
79
79
|
// 模拟 return 前的延迟
|