RadioGroup add vertical props

RadioGroup add vertical props
This commit is contained in:
梁灏 2017-01-05 14:37:24 +08:00
parent a404bbaed3
commit 5722a6fb91
4 changed files with 20 additions and 10 deletions

View file

@ -1,7 +1,6 @@
<template>
<div>
<Checkbox>hello</Checkbox>
<Radio-group :model.sync="phone">
<Radio-group :model.sync="phone" vertical>
<Radio value="apple">
<Icon type="social-apple"></Icon>
<span>Apple</span>
@ -27,7 +26,7 @@
<i-button @click="radio = !radio">change radio</i-button>
<br>
<br>
<Radio-group :model.sync="phone" type="button">
<Radio-group :model.sync="phone" type="button" vertical>
<Radio value="apple">
<Icon type="social-apple"></Icon>
<span>Apple</span>