feat: update docs

This commit is contained in:
Justineo
2020-09-22 11:06:13 +08:00
parent d64014f3b4
commit 468f6995c3
32 changed files with 1032 additions and 548 deletions

View File

@@ -36,3 +36,9 @@ export default {
}
}
</script>
<style lang="less" scoped docs>
section {
margin-bottom: 20px;
}
</style>

View File

@@ -36,3 +36,9 @@ export default {
}
}
</script>
<style lang="less" scoped docs>
section {
margin-bottom: 20px;
}
</style>

View File

@@ -22,10 +22,7 @@
:rules="ageRule"
label="年龄"
>
<veui-input
v-model="formData.age"
placeholder="错误提示优先出在右侧"
/>
<veui-input v-model="formData.age"/>
</veui-field>
<veui-field
@@ -129,7 +126,7 @@
</veui-button>
<veui-button
:loading="isValidating"
@click="() => this.$refs.form.reset()"
@click="resetForm"
>
重置
</veui-button>
@@ -320,6 +317,9 @@ export default {
},
handleInvalid () {
this.isValidating = false
},
resetForm () {
this.$refs.form.reset()
}
}
}