Use Mini Program touch event and touch end to simulate long press?

how to prevent users from clicking a single click, because each click, const recorderManager = wx.getRecorderManager () will register
 bind:touchstart="startRecord" 
 bind:touchend="stopRecord" 
 startRecord(e) {
    recorderManager.start(startObj)
  },
  stopRecord() {
    recorderManager.stop()
  }
Menu