修复输入框可以输入负数

prod
1178634255 2 years ago
parent f61148166b
commit d2b3151670

@ -678,6 +678,10 @@ export default {
handleChange() {
if (this.editQuery.recentDateTime > 30) {
this.$message.error("近效期预警时间必须小于等于30");
this.editQuery.recentDateTime = 30;
}
if (this.editQuery.recentDateTime < 0) {
this.$message.error("近效期预警时间必须大于等于0");
this.editQuery.recentDateTime = 0;
}
},

Loading…
Cancel
Save