diff --git a/src/views/components/rangeInput.vue b/src/views/components/rangeInput.vue
index 42fbea23..5c726a67 100644
--- a/src/views/components/rangeInput.vue
+++ b/src/views/components/rangeInput.vue
@@ -52,13 +52,16 @@ export default {
},
data () {
let checkAge = (rule, value, callback) => {
+ // debugger
if (value === '') {
callback(new Error('请输入内容'))
} else {
- if (value < this.inputForm.start) {
+ if (parseInt(value) < parseInt(this.inputForm.start)) {
callback(new Error('结束值不能小于开始值'))
+ } else {
+ callback()
}
- callback()
+
}
}
return {
@@ -85,6 +88,7 @@ export default {
},
methods: {
handleChange (val) {
+
// if ()
this.$emit('change', { ...this.inputForm })
},
diff --git a/src/views/modules/base/epidemic/antiInfo.vue b/src/views/modules/base/epidemic/antiInfo.vue
index 3be76486..dcfe9e2d 100644
--- a/src/views/modules/base/epidemic/antiInfo.vue
+++ b/src/views/modules/base/epidemic/antiInfo.vue
@@ -114,7 +114,7 @@
@@ -157,6 +157,7 @@
+
+