<el-form ref="w_center" > </el-form> this.$refs.w_center.validate(valid => { if (!valid) return; 内容 })