Gcaufy
Gcaufy
this 不对吧, this 是指 wepy 实例不是小程序实例。 你可以试试 this.$wx
关闭 es6 -> es5 试试
try alpha version. 在alpha版本中我修复了一系列转web的问题 ``` npm install [email protected] -g ```
https://mp.weixin.qq.com/debug/wxadoc/dev/component/scroll-view.html 理论上应该可以通过计算 `scroll-top` 属性实现滚动到底部,但是我没有试验过。
发消息会计算消息列表高度,动态设计scroll-top
这个属性应该也可以。 ``` scroll-into-view String 值应为某子元素id(id不能以数字开头),则滚动到该元素,元素顶部对齐滚动区域顶部,只支持纵向滚动 ```
参考这个: https://github.com/wepyjs/wepy-templates/blob/2.0.x/templates/standard/template/src/pages/index.wpy#L331
这个是Warning不是Error吧。
https://github.com/facebook/regenerator/commit/063f14ef7f01bb29830e3f17e9ef151e7a5cb2f3 可以先将 regenerator-runtime 的版本锁定在 1.3.2 以下,先临时修复这个问题
没有报错信息吗?