求助,关于在手机上预览小程序动画过渡缺失的问题
新手刚接触小程序开发,在做一个输入框聚焦后上移的动画时,开发工具内预览正常,但在手机上预览就出现缺少动画过渡的情况,输入框直接从起点调到了终点,请帮忙解决一下 [代码] var[代码] [代码]animation = wx.createAnimation({[代码][代码] [代码][代码]duration: 1000,[代码][代码] [代码][代码]timingFunction: [代码][代码]"ease-in-out"[代码][代码],[代码][代码] [代码][代码]});[代码][代码] [代码][代码]this[代码][代码].animation = animation;[代码][代码] [代码][代码]animation.translateY(-170).step();[代码][代码] [代码][代码]this[代码][代码].setData({[代码][代码] [代码][代码]animationData: animation.export()[代码][代码] [代码][代码]})[代码]