Commit fff012fc by kaisa

feat:增加数字填写number校验

parent 5bd3cf6f
......@@ -314,7 +314,7 @@ const onSubmit = async () => {
is-link @click="showPlatformPicker = true" readonly
:rules="[{ required: true, message: '请選擇平臺' }]" />
<van-field v-show="isShowWriteId" v-model="formData.uid" name="id"
<van-field v-show="isShowWriteId" v-model="formData.uid" name="id" type="number"
:label="`${selectPlatform}:`" placeholder="請輸入"
:rules="[{ required: true, message: `请輸入${selectPlatform}` }]" />
......
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 sign in to comment