Results 4 comments of Bo Yuan

只调用一次应该用onLoad onShow本来就是每次进去页面都会调用的 还有一个onHide可以在离开页面时操作 在2018年01月22日 15:57 ,Vescky写道: 大神,求助,如题,我在小程序的onShow里面加载数据,并调用setData;第一次进入正常的,点击进去其他页面,再返回,就发现数据重复了。 用之前不是chunk的版本转换出来是没问题的,但是最新这个转换之后发现了此问题。 — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or...

> ![_20181101094532](https://user-images.githubusercontent.com/24606096/47827843-0f4b0e00-ddbb-11e8-92ff-7d8c851a6035.png) > > ``` _** or **_ was effective... but *** not effective... ```

![_20180917152438](https://user-images.githubusercontent.com/24606096/45610223-d6b2d780-ba8d-11e8-9763-c67fd7aa0497.png) 如果要修改的话是修改这里嘛? /lib/helper/engine.js里的 ```javascript var _writeFile = function(output, outFonts) { _.each(outFonts, function(font, type) { fs.writeFileSync(output + '.' + type, font, {mode: 438}) }) } ``` 这样对嘛 ?

```bash -rw-r--r-- 1 root root 84712 Sep 17 15:36 ZH-ss.eot -rw-r--r-- 1 root root 253467 Sep 17 15:36 ZH-ss.svg -rw-r--r-- 1 root root 84544 Sep 17 15:36 ZH-ss.ttf -rw-r--r-- 1...