Commit 46bd361297aecd79f4576935cfcc47c7eaf32959
1 parent
df96e93b
fix bug
Showing
3 changed files
with
6 additions
and
6 deletions
src/views/community/housekeeper/houseDetail.vue
| @@ -90,7 +90,7 @@ const rules = reactive({ | @@ -90,7 +90,7 @@ const rules = reactive({ | ||
| 90 | message: "请输入单元数", | 90 | message: "请输入单元数", |
| 91 | trigger: "blur", | 91 | trigger: "blur", |
| 92 | }, | 92 | }, |
| 93 | - { type: "number", message: "请输入数字,最大值不能超过10", max: 10 }, | 93 | + { type: "number", message: "请输入正确数值,最大值不能超过10", max: 10,min:1 }, |
| 94 | ], | 94 | ], |
| 95 | createTime: [ | 95 | createTime: [ |
| 96 | { | 96 | { |
| @@ -115,7 +115,7 @@ const rules = reactive({ | @@ -115,7 +115,7 @@ const rules = reactive({ | ||
| 115 | message: "请输入总房屋数量", | 115 | message: "请输入总房屋数量", |
| 116 | trigger: "blur", | 116 | trigger: "blur", |
| 117 | }, | 117 | }, |
| 118 | - { type: "number", message: "请输入数字,最大值不能超过10000", max: 10000 }, | 118 | + { type: "number", message: "请输入数字,最大值不能超过10000", max: 10000,min:1 }, |
| 119 | ], | 119 | ], |
| 120 | employArea: [ | 120 | employArea: [ |
| 121 | { | 121 | { |
src/views/community/residence/communityDetail.vue
| @@ -54,7 +54,7 @@ const rules = reactive({ | @@ -54,7 +54,7 @@ const rules = reactive({ | ||
| 54 | message: "请输入楼座数", | 54 | message: "请输入楼座数", |
| 55 | trigger: "blur", | 55 | trigger: "blur", |
| 56 | }, | 56 | }, |
| 57 | - { type: "number", message: "请输入数字,最大值不能超过5000", max: 5000 }, | 57 | + { type: "number", message: "请输入正确数值,最大值不能超过5000", max: 5000,min:1 }, |
| 58 | ], | 58 | ], |
| 59 | storeroomCount: [ | 59 | storeroomCount: [ |
| 60 | { | 60 | { |
| @@ -62,7 +62,7 @@ const rules = reactive({ | @@ -62,7 +62,7 @@ const rules = reactive({ | ||
| 62 | message: "请输入储藏室数", | 62 | message: "请输入储藏室数", |
| 63 | trigger: "blur", | 63 | trigger: "blur", |
| 64 | }, | 64 | }, |
| 65 | - { type: "number", message: "请输入数字,最大值不能超过5000", max: 5000 }, | 65 | + { type: "number", message: "请输入正确数值,最大值不能超过5000", max: 5000,min:1 }, |
| 66 | ], | 66 | ], |
| 67 | truckSpaceCount: [ | 67 | truckSpaceCount: [ |
| 68 | { | 68 | { |
| @@ -70,7 +70,7 @@ const rules = reactive({ | @@ -70,7 +70,7 @@ const rules = reactive({ | ||
| 70 | message: "请输入车位数", | 70 | message: "请输入车位数", |
| 71 | trigger: "blur", | 71 | trigger: "blur", |
| 72 | }, | 72 | }, |
| 73 | - { type: "number", message: "请输入数字,最大值不能超过5000", max: 5000 }, | 73 | + { type: "number", message: "请输入正确数值,最大值不能超过5000", max: 5000,min:1 }, |
| 74 | ], | 74 | ], |
| 75 | }); | 75 | }); |
| 76 | 76 |
src/views/serviceman/detail.vue
| @@ -74,7 +74,7 @@ const rules = reactive({ | @@ -74,7 +74,7 @@ const rules = reactive({ | ||
| 74 | message: "请输入年龄", | 74 | message: "请输入年龄", |
| 75 | trigger: "blur", | 75 | trigger: "blur", |
| 76 | }, | 76 | }, |
| 77 | - { type: "number", message: "请输入正确的年龄", max: 120 }, | 77 | + { type: "number", message: "请输入正确的年龄", max: 120,min:1 }, |
| 78 | ], | 78 | ], |
| 79 | mobile: [ | 79 | mobile: [ |
| 80 | { | 80 | { |