Skip to content

Commit

Permalink
Add test for vuejs#2236
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyo930021 committed Sep 4, 2020
1 parent a075121 commit 5d42376
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<script>
export default {
model: {
prop: 'foo'
},
props: {
foo: {
type: String,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,17 @@
<div>
<array-child :foo="foo" :bar="bar" :bAz="bar"></array-child>
<array-child :foo="foo" :bar="bar" :b-az="bar"></array-child>
<object-validator-child v-model="foo" :bar="bar" />
<class-child v-bind="{}" />
<class-child v-bind:[bar]="{}" />
<class-child :[bar]="{}" />
<class-child v-model="foo" :foo="foo" :bar="1" ear="ear" far="far" name="name" />
</div>
</template>


<script>
import ArrayChild from './array-props-child.vue'
import SimpleValidatorChild from './simple-validator-props-child.vue'
import ObjectValidatorChild from './object-validator-props-child.vue'
import ClassChild from './class-child.vue'
Expand Down

0 comments on commit 5d42376

Please sign in to comment.