鍍金池/ 問答/HTML5  C  Android  HTML/ Hbuilder真機調(diào)試vue項目時出錯,麻煩各位老哥幫忙看看。

Hbuilder真機調(diào)試vue項目時出錯,麻煩各位老哥幫忙看看。

連接真機后運行了,服務(wù)器已經(jīng)打開了。
控制臺打印的結(jié)果:

        正在建立手機連接...
        正在同步手機端程序文件...
        828 KB/s (5093 bytes in 0.006s)
        正在啟動HBuilder調(diào)試基座...
        應(yīng)用myapp已啟動...
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
         Unhandled promise rejection at static/js/0.5d619eee2822097557e1.js:1
回答
編輯回答
愿如初

已經(jīng)自行解決,原來是打包后的應(yīng)用程序的獲取后端數(shù)據(jù)的接口地址應(yīng)該改成局域網(wǎng)的ip

2018年8月21日 03:36