Skip to content

Commit

Permalink
添加$u.setConfig()方法,以及其他修复
Browse files Browse the repository at this point in the history
  • Loading branch information
wlxuqu committed Jan 27, 2022
1 parent 1d4924f commit f042873
Show file tree
Hide file tree
Showing 5 changed files with 474 additions and 440 deletions.
7 changes: 7 additions & 0 deletions uni_modules/uview-ui/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 2.0.25(2022-01-27)
# uView2.0重磅发布,利剑出鞘,一统江湖

1. 修复text组件mode=price时,可能会导致精度错误的问题
2. 添加$u.setConfig()方法,可设置uView内置的config, props, zIndex, color属性,详见:[修改uView内置配置方案](https://uviewui.com/components/setting.html#%E9%BB%98%E8%AE%A4%E5%8D%95%E4%BD%8D%E9%85%8D%E7%BD%AE)
3. 优化form组件在errorType=toast时,如果输入错误页面会有抖动的问题
4. 修复$u.addUnit()对配置默认单位可能无效的问题
## 2.0.24(2022-01-25)
# uView2.0重磅发布,利剑出鞘,一统江湖

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<u-line
v-if="borderBottom"
:color="message && parentData.errorType === 'border-bottom' ? $u.color.error : propsLine.color"
:customStyle="`margin-top: ${message ? '5px' : 0}`"
:customStyle="`margin-top: ${message && parentData.errorType === 'message' ? '5px' : 0}`"
></u-line>
</view>
</template>
Expand Down
4 changes: 2 additions & 2 deletions uni_modules/uview-ui/libs/config/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 此版本发布于2022-01-25
const version = '2.0.24'
// 此版本发布于2022-01-27
const version = '2.0.25'

// 开发环境才提示,生产环境不会提示
if (process.env.NODE_ENV === 'development') {
Expand Down
Loading

0 comments on commit f042873

Please sign in to comment.