-
-
13381829220 数据小白Lv1
发表于2022-1-14 11:12
悬赏2
已解决
6个回答
您好,您这个功能实现需要在加载完成事件里写一个脚本。
$p.$("iframe1").setUrl("../../vfs/root/products/eportal/pcportal/pages/esp/test5.html?v=1");
其中iframe1是子窗口的组件标识,../../vfs/root/products/eportal/pcportal/pages/esp/test5.html 是资源管理器里html文件的路径,您把这两个地方改成您的就行啦
-
13381829220 数据小白Lv1
一点一点 发表于 2022-1-14 11:12
您好,您这个功能实现需要在加载完成事件里写一个脚本。
$p.$("iframe1").setUrl("../../vfs/root/products ...
输入之后会报这个错欸Cannot read properties of undefined (reading 'setUrl')
13381829220 发表于 2022-1-14 15:47
输入之后会报这个错欸Cannot read properties of undefined (reading 'setUrl')
我本地也是用睿治231测试的呢,能截图看看您怎么写的脚本吗
您这个页面好像没有子窗口呀
看下您的子窗口和子窗口的组件标识