Form表单的单验证(也就是有一个表单)
<template>
<div>
<Form ref="formValidate" :model="formValidate" :rules="ruleValidate" :label-width="80">
<FormItem label="Name" prop="name">
<Input v-model="formValidate.name" placeholder="Enter your name"></Input>
</FormItem>
<FormItem label="E-mail" prop="mail">
<Input v-model="formValidate.mail" placeholder="Enter your e-mail"></Input>
</FormItem>
</Form>
<Button type="primary" @click.native="handleSubmit('formValidate')">Submit</Button>
<Button type="ghost" @click.native="handleReset('formValidate')" style="margin-lef