Skip to content

Commit

Permalink
Merge pull request #574 from ielgnaw/staging
Browse files Browse the repository at this point in the history
feat: bump to 2.5.9-beta.38
  • Loading branch information
ielgnaw authored Aug 15, 2024
2 parents 8896163 + b2361ed commit ce19137
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions example/components/changelog/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@

<div class="changelog-wrapper">

### 2.5.9-beta.38 {page=#/changelog}

* **[update]**:
- - [Progress 进度条](#/progress) size 默认值改为 `small`


### 2.5.9-beta.37 {page=#/changelog}

* **[add]**:
Expand Down
2 changes: 1 addition & 1 deletion example/components/progress/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | —— | —— |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
2 changes: 1 addition & 1 deletion src/components/progress/progress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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}'`)
Expand Down

0 comments on commit ce19137

Please sign in to comment.