ijry / uview-plus

零云®uview-plus,是uni-app全面兼容nvue的uni-app生态框架,全面的组件和便捷的工具会让您信手拈来,如鱼得水。
https://uview-plus.jiangruyi.com
MIT License
434 stars 110 forks source link

u-number-box 组件修改【integer, decimalLength, min, max 】props时没有触发绑定值更新 #429

Closed dengciping0716 closed 1 month ago

dengciping0716 commented 1 month ago

希望在check函数中增加emitChange调用

check() {
  // 格式化了之后,如果前后的值不相等,那么设置为格式化后的值
  const val = this.format(this.currentValue);
  if (val !== this.currentValue) {
      this.currentValue = val
        this.emitChange(val)
  }
},
ijry commented 1 month ago

add it @3.3.7