1).模擬器可以看到畫面,但真機調試看不到畫面,業務域名有新增https://www.aurorahealthcare.net,
出現[無法打開該畫面]不支持打開https://www.aurorahealthcare.net,請在"小程序右上角更多->反饋與投訴"中和開發者反映,
瀏覽器可以正常顯示https://www.aurorahealthcare.net
代码片段:<web-view src="https://www.aurorahealthcare.net"></web-view>
但真機調試錯誤訊息如下圖:
小程序的webview仅支持打开业务域名中的页面,请确认当前域名是否添加到业务域名(可在小程序后台进行查看)。
因为开发工具你开启了不检验业务域名所以可以,要配置业务域名才可以
error run publib TypeError: Cannot read property 'Int8Array' of undefined
at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82422)
at Array.forEach (<anonymous>)
at Module.8071 (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82393)
at r (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:82585)
at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83807)
at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83856)
at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:83860)
at eval (eval at Ce.t.call.document (runtime.js:1), <anonymous>:2:3276662)
at eval (<anonymous>)
at Object.Ce.t.call.document (index.js:1)
ReferenceError: define is not defined
at eval (app.js:1)
at eval (<anonymous>)
at ye (index.js:1)
at index.js:1
at ve (index.js:1)
at Ce (index.js:1)
at We (index.js:1)
at WebSocket.Ge.ze.onmessage (index.js:1)
ye @ index.js:1