小程序内嵌入H5网页链接无法访问?

小程序 文章 2022-01-06 17:20 730 0 全屏看文

AI助手支持GPT4.0

小程序内嵌入H5网页链接无法访问?Can’t access the H5 webpage link embedded in the applet?

小程序内嵌入H5网页链接无法访问?

业务场景是:微信小程序内嵌入了 H5网页链接,网页中使用了腾讯地图lbs服务器,报 iframe不支持引用非业务域名。

The business scenario is: the wechat applet is embedded with H5 web page links. Tencent map lbs server is used in the web page. Iframe does not support referencing non business domain names.

回答:

brave:

是的,iframe 的域名也需要配置的。

圣殿骑士:

内嵌qq地图,好奇怪,为什么不写源生的呢?

除非你能把 这个地址加到 业务域名里

但我记得是不行的

peng:

意思是这个域名也要设置成业务域名...

-EOF-

AI助手支持GPT4.0