帖子
帖子
用户
博客
课程
显示全部楼层
7
帖子
0
勋章
53
Y币

[其他] 怎么在app里正常显示打开外部URL!

[复制链接]
发表于 2022-1-20 17:01:59
本帖最后由 BIP422430 于 2022-1-20 17:03 编辑

我是用openwin打开一个本地的html,然后在html里没写代码,就在js里声明了这个
function fOpenUrl(url) {    api.openFrame({
        name: 'url-con',
        url: url,
        rect: {
            x: 0,
            y: 44,
            w: 'auto',
            h: 'auto'
        },
        allowEdit: true,
        showProgress: 'true'
    });
}


fOpenUrl('https://www**.**')






这样不能打开网址,app页面也是空的,没有内容,怎么写啊这种


Screenshot_20220120-170143.png





apiready里面调用apicloud的方法
您需要登录后才可以回帖 登录

本版积分规则