好像 webview 打开也会受到跨域加载的限制。
比如加载图片提示如下:
file:///data/user/0/test/files/apps/fb77dedd-fee0-40dd-9a63-4e00cb6b6a89/1.0.0/index.html-line0 :Image from origin 'file://' has been blocked from loading by Cross-Origin Resource Sharing policy: Invalid response. Origin 'null' is therefore not allowed access.