根据文档 来做的// 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 源码 根本没有找到 addView这方法...
添加回答
举报
0/150
提交
取消