Skip to content

Commit

Permalink
chore(demo): radio group demo
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Feb 14, 2019
1 parent c528eea commit 0389bfc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions example/pages/radio.vue
Expand Up @@ -7,13 +7,12 @@
<p>selected value: {{selected2}}</p>
<cube-radio-group v-model="selected3" :options="options3" :horizontal="true" />
<p>selected value: {{selected3}}</p>
<cube-radio-group>
<cube-radio-group v-model="selected4">
<cube-radio
v-for="(option, index) in options4"
:key="index"
:option="option"
v-model="selected4">
<img :src="option.src" />
:option="option">
<img :src="option.src">
</cube-radio>
</cube-radio-group>
<p>selected img: {{selected4}}</p>
Expand Down

0 comments on commit 0389bfc

Please sign in to comment.