openatc-components 0.0.112 → 0.0.113

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -86,7 +86,7 @@ export default {
86
86
  // 解决change事件只在失去焦点时响应,此处,可以监听到实时变化
87
87
  const key = this.$refs[`refNumber-${field}`].displayValue
88
88
  if (this.checkOnlyNum(key)) {
89
- this.basicCoodInfo[field] = field === 'angle' ? this.checkMinMaxNum(key) : Number(key)
89
+ this.basicCoodInfo[field] = field === 'angle' ? this.checkAngleMinMaxNum(key) : Number(key)
90
90
  this.$emit('handleChangeBasicCoord', this.basicCoodInfo)
91
91
  }
92
92
  },
@@ -107,7 +107,7 @@ export default {
107
107
  handleChangeAngle (angle) {
108
108
  // 解决用上下箭头控制数字改变
109
109
  if (this.checkOnlyNum(angle)) {
110
- this.basicCoodInfo['angle'] = this.checkMinMaxNum(angle)
110
+ this.basicCoodInfo['angle'] = this.checkAngleMinMaxNum(angle)
111
111
  this.$emit('handleChangeBasicCoord', this.basicCoodInfo)
112
112
  }
113
113
  },