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 | 90 | message: "请输入单元数", |
| 91 | 91 | trigger: "blur", |
| 92 | 92 | }, |
| 93 | - { type: "number", message: "请输入数字,最大值不能超过10", max: 10 }, | |
| 93 | + { type: "number", message: "请输入正确数值,最大值不能超过10", max: 10,min:1 }, | |
| 94 | 94 | ], |
| 95 | 95 | createTime: [ |
| 96 | 96 | { |
| ... | ... | @@ -115,7 +115,7 @@ const rules = reactive({ |
| 115 | 115 | message: "请输入总房屋数量", |
| 116 | 116 | trigger: "blur", |
| 117 | 117 | }, |
| 118 | - { type: "number", message: "请输入数字,最大值不能超过10000", max: 10000 }, | |
| 118 | + { type: "number", message: "请输入数字,最大值不能超过10000", max: 10000,min:1 }, | |
| 119 | 119 | ], |
| 120 | 120 | employArea: [ |
| 121 | 121 | { | ... | ... |
src/views/community/residence/communityDetail.vue
| ... | ... | @@ -54,7 +54,7 @@ const rules = reactive({ |
| 54 | 54 | message: "请输入楼座数", |
| 55 | 55 | trigger: "blur", |
| 56 | 56 | }, |
| 57 | - { type: "number", message: "请输入数字,最大值不能超过5000", max: 5000 }, | |
| 57 | + { type: "number", message: "请输入正确数值,最大值不能超过5000", max: 5000,min:1 }, | |
| 58 | 58 | ], |
| 59 | 59 | storeroomCount: [ |
| 60 | 60 | { |
| ... | ... | @@ -62,7 +62,7 @@ const rules = reactive({ |
| 62 | 62 | message: "请输入储藏室数", |
| 63 | 63 | trigger: "blur", |
| 64 | 64 | }, |
| 65 | - { type: "number", message: "请输入数字,最大值不能超过5000", max: 5000 }, | |
| 65 | + { type: "number", message: "请输入正确数值,最大值不能超过5000", max: 5000,min:1 }, | |
| 66 | 66 | ], |
| 67 | 67 | truckSpaceCount: [ |
| 68 | 68 | { |
| ... | ... | @@ -70,7 +70,7 @@ const rules = reactive({ |
| 70 | 70 | message: "请输入车位数", |
| 71 | 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