uni-app uView 集成遇到問題VM93:5 app.js錯誤: TypeError: Cannot read property 'mark' of undefined


uni-app集成uView后

運行報錯

VM93:5 app.js錯誤: TypeError: Cannot read property 'mark' of undefined

這是因為js語法兼容問題。

打開增強編譯 的選項來增強 ES6轉ES5 的能力,可以解決這個問題。

 

打開后問題解決。

 


免責聲明!

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



猜您在找 uni-app 報錯:TypeError: Cannot read property 'invoke' of undefined create-react-app 遇到問題 TypeError: Cannot assign to read only property 'jsx' of object '#' Error in render: "TypeError: Cannot read property '0' of undefined"”渲染錯誤問題 VM1059 bootstrap-table.min.js:7 Uncaught TypeError: Cannot read property 'classes' of undefined 記Vue異步加載遇到的問題:TypeError: Cannot read property '__esModule' of undefined 【vue踩坑記錄】3、“Error in render: "TypeError: Cannot read property '0' of undefined"”渲染錯誤問題 【vue踩坑記錄】3、“Error in render: "TypeError: Cannot read property '0' of undefined"”渲染錯誤問題 js中報Uncaught TypeError: Cannot read property 'length' of undefined Uncaught TypeError: Cannot read property ‘split’ of undefined Uncaught TypeError: Cannot read property 'forEach' of undefined
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM