![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uniapp
颜帆⅓¼
这个作者很懒,什么都没留下…
展开
-
uniapp 表单验证
<template> <uni-forms ref="form" :value="formData" :rules="rules" validate-trigger="bind" err-show-type="undertext"> <uni-forms-item class="form-item" label=" 姓名" required label-width="120" name="realName"> <uni-easyinput type="t原创 2021-06-17 18:24:41 · 844 阅读 · 0 评论 -
uni-form
uni-form rules:{ realName: { rules: [{ required: true, errorMessage: '姓名不能为空' }] }, nation: { rules: [{ required: true, errorMessage: '民族不能为空' }] }, } 表单附加属性原创 2021-06-16 17:20:34 · 385 阅读 · 0 评论