wx.createAnimation多次调用不执行问题
const animation = wx.createAnimation({ transformOrigin: "50% 50% 0" , duration: 9000, timingFunction: "ease" , delay: 100 }); this .animation = animation; this .animation.rotate(4 * 360).step(); this .setData({ animationData: this .animation.export() }); }, |
代码如上,每次点击触发上面动画,但是当第一次动画执行完毕之后,第二次点击,就没有触发动画,求解
1 回复