我用 taro 编译的小程序,在我的小程序工具上运行就是一片空白,明明有内容,但是taroComReady 这个值好像为false,一直不显示。在别人的那里就可以显示,这到底怎么回事啊。也不报错。
W
wuxinlei33
@wuxinlei33
0
声望
2
帖子
183
资料浏览
0
粉丝
0
关注
wuxinlei33 发布的帖子
-
taro编译小程序,显示一片空白
-
taro如何在button的onLongPress手势中得到手松开的事件呢?
<Button class='bg-circle' onLongPress={(e) => {
console.log("onLongPress");
console.log(e.target)
// this.setState({
// isToggleOn: !this.state.isToggleOn
// }, () => {
// if (this.state.isToggleOn) {
// this.start();
// } else {
// this.stop();
// }
// })
}}>
</Button>