2022-08-19


handleFilter() {
      let e = window.event || arguments[0]
      const maxLength = 50
      const currLength = this.listForm.likePreDeliveryOrderCode.split('\n').length
      if (e.key == 'Enter' || e.code == 'Enter' || e.keyCode == 13) {
        if (currLength === maxLength) {
          e.returnValue = false
          return false
        }
      }
    },

你可能感兴趣的:(2022-08-19)