Commit edecb505 authored by Your Name's avatar Your Name

限制观影人数

parent 1a5ae8fe
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
v-model="form.num" v-model="form.num"
placeholder="请输入观影人数" placeholder="请输入观影人数"
type="number" type="number"
maxlength="10" maxlength="9"
input-align="right" input-align="right"
:rules="[{ pattern: /^[1-9]\d{0,9}$/, message: '请输入正确内容,最多10位数',trigger:'blur'}]" :rules="[{ pattern: /^[1-9]\d{0,9}$/, message: '请输入正确内容,最多10位数',trigger:'blur'}]"
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment