Merge pull request #52 from jikkai/master

Input-number: fix input-number style in form & Tag: fix a mistake in the doc
This commit is contained in:
FuryBean 2016-09-10 11:11:57 +08:00 committed by GitHub
commit 9203058dd7
2 changed files with 3 additions and 2 deletions

View File

@ -89,7 +89,7 @@
### Attributes
| 参数 | 说明 | 类型 | 可选值 | 默认值 |
|---------- |-------------- |---------- |-------------------------------- |-------- |
| type | 主题 | string | 'primary', 'gray', 'success', 'warning', 'error' | — |
| type | 主题 | string | 'primary', 'gray', 'success', 'warning', 'danger' | — |
| closable | 是否可关闭 | boolean | — | false |
| close-transition | 是否禁用关闭时的渐变动画 | boolean | — | false |
| hit | 是否有边框描边 | boolean | — | false |

View File

@ -4,7 +4,8 @@
@component-namespace el {
@b input-number {
display: inline-block;
display: block;
overflow: hidden;
& .el-input__inner {
appearance: none;