Skip to content

Commit

Permalink
fix: 🐛 修复release脚本处理最低版本号问题
Browse files Browse the repository at this point in the history
* fix: 🐛 修复`release`脚本处理最低版本号问题

* docs: ✏️  纠正`slider`组件`step`属性最低版本号错误
  • Loading branch information
jasper-ops committed May 6, 2024
1 parent bc2b39f commit c8077c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const handleLowestVersion = (dir, version) => {
})

if (content.includes(LOWEST_VERSION)) {
content = content.replace(LOWEST_VERSION, version)
content = content.replace(/\$LOWEST_VERSION\$/g, version)
writeFileSync(itemPath, content)
}
}
Expand Down
2 changes: 1 addition & 1 deletion docs/component/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const value = ref<number[]>([10, 30])
| disabled | 是否禁用 | boolean | - | false | - |
| max | 最大值 | number | - | 100 | - |
| min | 最小值,允许负数`(1.2.19)` | number | - | 0 | - |
| step | 步进值 | number | - | 1 | `($LOWEST_VERSION$)` |
| step | 步进值 | number | - | 1 | `1.2.19` |
| active-color | 进度条激活背景颜色 | string | - | linear-gradient(315deg, rgba(81,124,240,1) 0%,rgba(118,158,245,1) 100%) | - |
| inactive-color | 进度条未激活背景颜色 | string | - | #e5e5e5 | - |

Expand Down

0 comments on commit c8077c9

Please sign in to comment.