diff --git a/example/components/changelog/readme.md b/example/components/changelog/readme.md index bdc2022e..e8337352 100644 --- a/example/components/changelog/readme.md +++ b/example/components/changelog/readme.md @@ -8,6 +8,12 @@
+### 2.5.9-beta.38 {page=#/changelog} + +* **[update]**: + - - [Progress 进度条](#/progress) size 默认值改为 `small` + + ### 2.5.9-beta.37 {page=#/changelog} * **[add]**: diff --git a/example/components/progress/readme.md b/example/components/progress/readme.md index 9bf9226d..892b5e9a 100644 --- a/example/components/progress/readme.md +++ b/example/components/progress/readme.md @@ -176,7 +176,7 @@ |------|------|------|------|------| | theme | 显示类型 | String | `primary` / `warning` / `success` / `danger` | `primary` | | percent | 进度百分比 | Number | 0 < `percent` < 1 | —— | -| size | 尺寸 | String | `small` / `normal` / `large` |`normal`| +| size | 尺寸 | String | `small` / `normal` / `large` |`small`| | stroke-width | 进度条的宽度,单位 px | Number | —— | —— | | text-inside | 进度条显示文字内置在进度条内 | Boolean | `true` `false` | false | | color | 进度条背景色 | String | —— | —— | diff --git a/package.json b/package.json index a91224c7..a439f835 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bk-magic-vue", - "version": "2.5.9-beta.37", + "version": "2.5.9-beta.38", "description": "基于蓝鲸 Magicbox 和 Vue 的前端组件库", "main": "dist/bk-magic-vue.min.js", "files": [ diff --git a/src/components/progress/progress.vue b/src/components/progress/progress.vue index 79702104..53adc02f 100644 --- a/src/components/progress/progress.vue +++ b/src/components/progress/progress.vue @@ -80,7 +80,7 @@ export default { }, size: { type: String, - default: 'normal', + default: 'small', validator (value) { if (['small', 'normal', 'large'].indexOf(value) < 0) { console.error(`size property is not valid: '${value}'`)