xyun

Results comments of xyun

试试在vite.config.js中配置,可以把svg单独打包,不绑定在主包中 ```js build: { rollupOptions: { treeshake: true, output: { // 根据不同的js库 拆分包,减少index.js包体积 manualChunks(id) { if(id.includes('svg-icons-register')){ return "svg-icons" } }, }, } }, ```

我有类似的问题,加了if后,在方法中动态的改变if条件值后,ios会强退。

我也很想有这个功能,因为有些功能必须在webview上面才能做

我的也是,ios平台

@haicuan139 Scroller还是有问题 ![image](https://cloud.githubusercontent.com/assets/3953237/18374138/d6592778-767c-11e6-8cb3-4e068c676247.png)

代码贴上来乱了,看下截图 ![image](https://cloud.githubusercontent.com/assets/3953237/18375101/8563bf78-7685-11e6-86a1-ef84d556ab5c.png) WXDemoViewController.m 改了2个地方,以免重复显示navigationBar ![image](https://cloud.githubusercontent.com/assets/3953237/18375118/bba1daac-7685-11e6-84ec-afe296ab97a7.png)