mirror of https://github.com/ElemeFE/element
* Rate(doc): fix text-color default value, fixed #3206 * Rate: fix textColor default valuepull/3721/head
parent
adaec8199f
commit
bf3f43b467
|
@ -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} |
|
||||||
|
|
||||||
|
|
|
@ -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} |
|
||||||
|
|
||||||
|
|
|
@ -98,7 +98,7 @@
|
||||||
},
|
},
|
||||||
textColor: {
|
textColor: {
|
||||||
type: String,
|
type: String,
|
||||||
default: '1f2d3d'
|
default: '#1f2d3d'
|
||||||
},
|
},
|
||||||
texts: {
|
texts: {
|
||||||
type: Array,
|
type: Array,
|
||||||
|
|
Loading…
Reference in New Issue