wx.vibrateShort({})特定情况下无效
如下代码是 bindtouchstart 事件处理函数。 changeimagesrc1: function() { wx.vibrateShort({}) this.record() this.setData({ record_image_src: "/image/record2.png" }) }, record: function () { var that = this wx.startRecord({ success: function (res) { that.data.recordfile = res.tempFilePath } }) }, wx.vibrateShort({})只在第一次按键的时候有震动效果,之后没有效果。 猜测与录音功能有关,其他事件下的wx.vibrateShort({})没有这个问题。