Skip to content

Commit

Permalink
2.1.2 lib
Browse files Browse the repository at this point in the history
  • Loading branch information
smallweis committed Sep 23, 2019
1 parent 5b2bad8 commit 90af8ce
Show file tree
Hide file tree
Showing 4 changed files with 25,186 additions and 8 deletions.
15 changes: 10 additions & 5 deletions examples/element-ui/form/tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

<body>
<div id="app">
<avue-crud :option="option" :data="data"></avue-crud>
{{data}}
<avue-form :option="option" v-model="data"></avue-form>
</div>
</body>
<script>
Expand All @@ -28,10 +29,9 @@
el: '#app',
data() {
return {
data: [{
shenfeng1: 6,
shenfeng: [32, 19]
}],
data: {
shenfeng1: 6
},
option: {
column: [{
label: '多选',
Expand Down Expand Up @@ -1101,6 +1101,11 @@
}
}
},
created() {
setTimeout(() => {
this.data.shenfeng1 = ''
}, 2000)
},
methods: {
submit() {
this.$message.success('当前数据' + JSON.stringify(this.form))
Expand Down
Loading

0 comments on commit 90af8ce

Please sign in to comment.