[Doc] use ts-style type
This commit is contained in:
@@ -57,10 +57,10 @@ Use `pivot-text` to custom text,use `color` to custom bar color
|
||||
|
||||
| Attribute | Description | Type | Default |
|
||||
|------|------|------|------|
|
||||
| inactive | Whether to be gray | `Boolean` | `false` |
|
||||
| percentage | Percentage | `Number` | `0` |
|
||||
| show-pivot | Whether to show text | `Boolean` | `true` |
|
||||
| color | Color | `String` | `#1989fa` |
|
||||
| pivot-text | Text | `String` | percentage |
|
||||
| pivot-color | Text background color | `String` | inherit progress color |
|
||||
| text-color | Text color | `String` | `#fff` |
|
||||
| inactive | Whether to be gray | `boolean` | `false` |
|
||||
| percentage | Percentage | `number` | `0` |
|
||||
| show-pivot | Whether to show text | `boolean` | `true` |
|
||||
| color | Color | `string` | `#1989fa` |
|
||||
| pivot-text | Text | `string` | percentage |
|
||||
| pivot-color | Text background color | `string` | inherit progress color |
|
||||
| text-color | Text color | `string` | `#fff` |
|
||||
|
||||
@@ -55,10 +55,10 @@ Vue.use(Progress);
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| inactive | 是否置灰 | `Boolean` | `false` | - |
|
||||
| percentage | 进度百分比 | `Number` | `0` | - |
|
||||
| show-pivot | 是否显示进度文字 | `Boolean` | `true` | - |
|
||||
| color | 进度条颜色 | `String` | `#1989fa` | - |
|
||||
| text-color | 进度条文字颜色 | `String` | `#fff` | - |
|
||||
| pivot-text | 文字显示 | `String` | 百分比文字 | - |
|
||||
| pivot-color | 文字背景色 | `String` | 与进度条颜色一致 | - |
|
||||
| inactive | 是否置灰 | `boolean` | `false` | - |
|
||||
| percentage | 进度百分比 | `number` | `0` | - |
|
||||
| show-pivot | 是否显示进度文字 | `boolean` | `true` | - |
|
||||
| color | 进度条颜色 | `string` | `#1989fa` | - |
|
||||
| text-color | 进度条文字颜色 | `string` | `#fff` | - |
|
||||
| pivot-text | 文字显示 | `string` | 百分比文字 | - |
|
||||
| pivot-color | 文字背景色 | `string` | 与进度条颜色一致 | - |
|
||||
|
||||
Reference in New Issue
Block a user