update Cascader

update Cascader
This commit is contained in:
梁灏 2016-11-16 11:01:54 +08:00
parent 165bb7c9ed
commit 9ec927b149
4 changed files with 7 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 159 KiB

After

Width:  |  Height:  |  Size: 157 KiB

View file

@ -43,7 +43,10 @@
}
},
value: {
type: Array
type: Array,
default () {
return []
}
},
disabled: {
type: Boolean,

View file

@ -31,6 +31,7 @@
}
.@{select-dropdown-prefix-cls} {
width: auto;
padding: 0;
white-space: nowrap;
}
@ -42,7 +43,7 @@
min-width: 100px;
height: 180px;
margin: 0;
padding: 5px 0;
padding: 5px 0 !important;
vertical-align: top;
list-style: none;
border-right: 1px solid @border-color-split;

View file

@ -1,7 +1,7 @@
<template>
<div style="margin: 50px;width:300px">
{{ value | json }}
<Cascader size="large" :data="data" :value.sync="value" @on-change="change" trigger="hover" :render-format="format"></Cascader>
<Cascader size="large" :data="data" @on-change="change" trigger="hover" :render-format="format"></Cascader>
</div>
</template>
<script>