微信小程序定时器setTimeout怎么实现setintval的功能?
小程序不支持setintval吗
网友回复
支持interval
<!--index.wxml--> <view class="container"> <button type='primary' style='margin-bottom:40px;' bindtap='startSetInter'>开始</button> <button type='primary' bindtap='endSetInter'>结束</button> </view>
Page({
data: {
//存储计时器
setInter:'',
num:1,
},
onLoad: ...点击查看剩余70%


