測試測試用
<el-col :span="12">
<el-form size="mini" :label-position="'right'" label-width="80px" label-suffix=":">
<el-form-item label="姓名" prop="userName" verify>
<el-input v-model.name="model.userName"></el-input>
</el-form-item>
<el-form-item label="別名" alias="別名" prop="nickName" verify>
<el-input v-model.name="model.nickName"></el-input>
</el-form-item>
<el-form-item label="passWord" verify phone>
<el-input v-model.name="model.passWord"></el-input>
</el-form-item>
<el-form-item label="userSex" verify>
<el-input v-model.name="model.userSex"></el-input>
</el-form-item>
<el-form-item>
<el-button size="small" type="success" @click="addForm">confirm</el-button>
</el-form-item>
</el-form>
</el-col>複製程式碼
<el-col :span="12">
<el-form size="mini" :label-position="'right'" label-width="80px" label-suffix=":">
<el-form-item label="姓名" prop="userName" verify>
<el-input v-model.name="model.userName"></el-input>
</el-form-item>
<el-form-item label="別名" alias="別名" prop="nickName" verify>
<el-input v-model.name="model.nickName"></el-input>
</el-form-item>
<el-form-item label="passWord" verify phone>
<el-input v-model.name="model.passWord"></el-input>
</el-form-item>
<el-form-item label="userSex" verify>
<el-input v-model.name="model.userSex"></el-input>
</el-form-item>
<el-form-item>
<el-button size="small" type="success" @click="addForm">confirm</el-button>
</el-form-item>
</el-form>
</el-col>複製程式碼