Commit 66ed627ca331871979e1601efc1ed61fe4dafe27
1 parent
9d2285a2
fix: 修改contact us填写限制,prod2-72/73
Showing
2 changed files
with
3 additions
and
3 deletions
deploy/prod2.sh
1 | #!/bin/bash | 1 | #!/bin/bash |
2 | # 变量定义 | 2 | # 变量定义 |
3 | -LAST_TAG="1.0.71" | ||
4 | -TAG="1.0.72" | 3 | +LAST_TAG="1.0.72" |
4 | +TAG="1.0.73" | ||
5 | TARGET_PATH="/root/web/canrud-outside-nuxt-front" | 5 | TARGET_PATH="/root/web/canrud-outside-nuxt-front" |
6 | DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front" | 6 | DOCKERFILE_PATH="/root/web/canrud-outside-nuxt-front/canrud-nuxt-front" |
7 | IMAGE_NAME="canrud-outside-front" | 7 | IMAGE_NAME="canrud-outside-front" |
pages/contact.vue
@@ -284,7 +284,7 @@ const rules = { | @@ -284,7 +284,7 @@ const rules = { | ||
284 | firstName: { required }, | 284 | firstName: { required }, |
285 | lastName: { required }, | 285 | lastName: { required }, |
286 | email: { required, email }, | 286 | email: { required, email }, |
287 | - text: { required, maxLength: maxLength(20) }, | 287 | + text: { required }, |
288 | }; | 288 | }; |
289 | 289 | ||
290 | const v$ = useVuelidate(rules, state); | 290 | const v$ = useVuelidate(rules, state); |