@zzdadelu/schema-builder 1.0.0-alpha.105 → 1.0.0-alpha.106
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 +1 -1
- package/lib/main.js +1 -1
- package/package.json +1 -1
package/es/main.js
CHANGED
|
@@ -55,7 +55,7 @@ var Design = function Design(props, ref) {
|
|
|
55
55
|
// 定义一个检查并初始化引擎的函数
|
|
56
56
|
var _checkAndInit = function checkAndInit() {
|
|
57
57
|
// 检查关键依赖函数是否存在
|
|
58
|
-
if (typeof iframeWindow.getFormRenderMaterial === 'function') {
|
|
58
|
+
if (typeof iframeWindow.__ReactSimulatorRenderer__.getFormRenderMaterial === 'function') {
|
|
59
59
|
var _iframeWindow$__FR_EN;
|
|
60
60
|
// ✅ 环境就绪,执行引擎初始化
|
|
61
61
|
(_iframeWindow$__FR_EN = iframeWindow.__FR_ENGINE__) === null || _iframeWindow$__FR_EN === void 0 ? void 0 : _iframeWindow$__FR_EN.init(_objectSpread({
|
package/lib/main.js
CHANGED
|
@@ -63,7 +63,7 @@ var Design = function Design(props, ref) {
|
|
|
63
63
|
// 定义一个检查并初始化引擎的函数
|
|
64
64
|
var _checkAndInit = function checkAndInit() {
|
|
65
65
|
// 检查关键依赖函数是否存在
|
|
66
|
-
if (typeof iframeWindow.getFormRenderMaterial === 'function') {
|
|
66
|
+
if (typeof iframeWindow.__ReactSimulatorRenderer__.getFormRenderMaterial === 'function') {
|
|
67
67
|
var _iframeWindow$__FR_EN;
|
|
68
68
|
// ✅ 环境就绪,执行引擎初始化
|
|
69
69
|
(_iframeWindow$__FR_EN = iframeWindow.__FR_ENGINE__) === null || _iframeWindow$__FR_EN === void 0 ? void 0 : _iframeWindow$__FR_EN.init(_objectSpread({
|