Rate(doc): fix text-color default value, fixed #3206 (#3683)

* Rate(doc): fix text-color default value, fixed #3206

* Rate: fix textColor default value
pull/3721/head
cinwell.li 2017-03-23 13:36:07 +08:00 committed by baiyaaaaa
parent adaec8199f
commit bf3f43b467
3 changed files with 7 additions and 7 deletions

View File

@ -145,7 +145,7 @@ Read-only Rate is for displaying rating score. Half star is supported.
| void-icon-class | class name of unselected icons | string | — | el-icon-star-off | | void-icon-class | class name of unselected icons | string | — | el-icon-star-off |
| disabled-void-icon-class | class name of unselected read-only icons | string | — | el-icon-star-on | | disabled-void-icon-class | class name of unselected read-only icons | string | — | el-icon-star-on |
| show-text | whether to display texts | boolean | — | false | | show-text | whether to display texts | boolean | — | false |
| text-color | color of texts | string | — | 1F2D3D | | text-color | color of texts | string | — | #1F2D3D |
| texts | text array | array | — | ['极差', '失望', '一般', '满意', '惊喜'] | | texts | text array | array | — | ['极差', '失望', '一般', '满意', '惊喜'] |
| text-template | text template when the component is read-only | string | — | {value} | | text-template | text template when the component is read-only | string | — | {value} |

View File

@ -160,7 +160,7 @@
| void-icon-class | 未选中 icon 的类名 | string | — | el-icon-star-off | | void-icon-class | 未选中 icon 的类名 | string | — | el-icon-star-off |
| disabled-void-icon-class | 只读时未选中 icon 的类名 | string | — | el-icon-star-on | | disabled-void-icon-class | 只读时未选中 icon 的类名 | string | — | el-icon-star-on |
| show-text | 是否显示辅助文字 | boolean | — | false | | show-text | 是否显示辅助文字 | boolean | — | false |
| text-color | 辅助文字的颜色 | string | — | 1F2D3D | | text-color | 辅助文字的颜色 | string | — | #1F2D3D |
| texts | 辅助文字数组 | array | — | ['极差', '失望', '一般', '满意', '惊喜'] | | texts | 辅助文字数组 | array | — | ['极差', '失望', '一般', '满意', '惊喜'] |
| text-template | 只读时的辅助文字模板 | string | — | {value} | | text-template | 只读时的辅助文字模板 | string | — | {value} |

View File

@ -98,7 +98,7 @@
}, },
textColor: { textColor: {
type: String, type: String,
default: '1f2d3d' default: '#1f2d3d'
}, },
texts: { texts: {
type: Array, type: Array,