uniapp 編譯運行小程序 ,真機調試預覽不顯示?


因為我引入了阿里巴巴矢量庫的文件(全部),,,吧jS刪除即可:

 

報錯:

 


MiniProgramError
TypeError: Cannot read property 'getElementsByTagName' of undefined
TypeError: Cannot read property 'getElementsByTagName' of undefined
at getElementsByTagName (static/font/city/iconfont.js:1:1)
at (static/font/city/iconfont.js:1:1)
at u (WASubContext.js:2:2244637)
at at (app-service.js:2026:10)

 

 

 

其實不用引入一個的  我....我懶...

 

把它刪除即可


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM