根據(jù)文檔 來(lái)做的// Initialize appvar myApp = new Framework7();// If we need to use custom DOM library, let's save it to $$ variable:var $$ = Framework7.$;console.log(myApp.addView);// Add viewvar mainView = myApp.addView('.view-main', { // Because we want to use dynamic navbar, we need to enable it for this view: dynamicNavbar: true});然后我搜索了 framework7 源碼 根本沒(méi)有找到 addView這方法...
使用framework7 時(shí)報(bào)錯(cuò) addView is not a function
慕尼黑5688855
2019-02-26 17:17:04