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>

View file

@ -1,11 +1,6 @@
<style>
body{
overflow: hidden;
}
</style>
<template>
<i-table border :columns="columns1" :data="data1"></i-table>
<i-table border height="200" :columns="columns1" :data="data2"></i-table>
<!--<i-table border height="200" :columns="columns1" :data="data2"></i-table>-->
<!--<i-table width="550" height="200" border :columns="columns2" :data="data4"></i-table>-->
<!--<i-button @click="changeFilter">改变filter</i-button>-->
<!--<span v-if="currentRow !== null">Current Row: {{currentRow.name}}</span>-->