Commit bf3f43b4 authored by cinwell.li's avatar cinwell.li Committed by baiyaaaaa

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

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

* Rate: fix textColor default value
parent adaec819
......@@ -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 |
| disabled-void-icon-class | class name of unselected read-only icons | string | — | el-icon-star-on |
| 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 | — | ['极差', '失望', '一般', '满意', '惊喜'] |
| text-template | text template when the component is read-only | string | — | {value} |
......
......@@ -160,7 +160,7 @@
| void-icon-class | 未选中 icon 的类名 | string | — | el-icon-star-off |
| disabled-void-icon-class | 只读时未选中 icon 的类名 | string | — | el-icon-star-on |
| show-text | 是否显示辅助文字 | boolean | — | false |
| text-color | 辅助文字的颜色 | string | — | 1F2D3D |
| text-color | 辅助文字的颜色 | string | — | #1F2D3D |
| texts | 辅助文字数组 | array | — | ['极差', '失望', '一般', '满意', '惊喜'] |
| text-template | 只读时的辅助文字模板 | string | — | {value} |
......
......@@ -98,7 +98,7 @@
},
textColor: {
type: String,
default: '1f2d3d'
default: '#1f2d3d'
},
texts: {
type: Array,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment