report10,我在本地预览的时候,点击按钮弹窗就正常展示,但是挂载到决策平台后,通过目录点击按钮弹窗,就出现了这个错误 如下CustomJSError:Cannot read properties of undefined(reading ‘showDialog’)按钮的js事件如下var wlh = _g().getWidgetByName("wlh").getValue(); var wlms = _g().getWidgetByName("wlms").getValue(); var iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='yes' frameborder='0'>"); // 对话框内iframe参数的命名,默认宽高占比是100%,可向下滚动var url="${servletURL}?formlet=/**/物料检索提示-回溯.frm";var title = "物料检索提示:";iframe.attr("src", url); // 给iframe添加src属性var o = { height: 330, //对话框高度width : 700 //对话框宽度}; window.parent.FR.showDialog(title, o.width, o.height, iframe,o);//弹出对话框*/$('.fr-core-window-header ').css("background","grey");