Merge pull request #1837 from lepture/patch-1

Rollback #968
This commit is contained in:
Aresn 2017-09-10 15:20:15 +08:00 committed by GitHub
commit 6a9263e198

View file

@ -1,5 +1,5 @@
<template>
<form :class="classes" @submit="formSubmit"><slot></slot></form>
<form :class="classes"><slot></slot></form>
</template>
<script>
// https://github.com/ElemeFE/element/blob/dev/packages/form/src/form.vue
@ -75,9 +75,6 @@
if (!field) { throw new Error('[iView warn]: must call validateField with valid prop string!'); }
field.validate('', cb);
},
formSubmit (event) {
event.preventDefault();
}
},
watch: {