Skip to content

Commit

Permalink
fix: 修复easyinput 的 onBlur 的 emit错误
Browse files Browse the repository at this point in the history
  • Loading branch information
18148764734 committed Feb 19, 2024
1 parent da59db7 commit a8aa223
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 21 deletions.
45 changes: 45 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,51 @@
- 主版本号:含有破坏性更新和新特性,不在发布周期内。

<!-- 更新占位 -->
<log title="1.5.1" date="2024-02-19">
<log-item title="uni-data-checkbox 组件更新">
<log-item-text tag-type="fix">
修复错别字chagne为change
</log-item-text>
</log-item>
<log-item title="uni-datetime-picker 组件更新">
<log-item-text tag-type="fix">
隐藏“秒”时,在IOS15及以下版本时出现 结束时间在开始时间之前 的bug [详情](https://github.com/dcloudio/uni-ui/issues/788)
</log-item-text>
</log-item>
<log-item title="uni-easyinput 组件更新">
<log-item-text tag-type="fix">
onBlur的emit传值错误
</log-item-text>
<log-item-text tag-type="perf">
补充 adjust-position文档属性补充
</log-item-text>
<log-item-text tag-type="perf">
补充 adjust-position属性传递值:(Boolean)当键盘弹起时,是否自动上推页面
</log-item-text>
</log-item>
<log-item title="uni-number-box 组件更新">
<log-item-text tag-type="fix">
加减号垂直位置偏移样式问题
</log-item-text>
</log-item>
<log-item title="uni-popup 组件更新">
<log-item-text tag-type="feat">
uni-popup-dialog 新增属性focus:input模式下,是否自动自动聚焦
</log-item-text>
<log-item-text tag-type="feat">
uni-popup-dialog 新增属性maxLength:限制输入框字数
</log-item-text>
<log-item-text tag-type="feat">
uni-popup-dialog 新增属性showClose:控制关闭按钮的显示
</log-item-text>
</log-item>
<log-item title="uni-search-bar 组件更新">
<log-item-text tag-type="fix">
uni-search-bar居中问题,现在默认居左,并修复样式偏移问题
</log-item-text>
</log-item>
</log>

<log title="1.5.1" date="2024-01-25">
<log-item title="uni-datetime-picker 组件更新">
<log-item-text tag-type="feat">
Expand Down
12 changes: 6 additions & 6 deletions temps/sync-version.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
"uni-collapse": "1.4.3",
"uni-combox": "1.0.1",
"uni-countdown": "1.2.2",
"uni-data-checkbox": "1.0.3",
"uni-data-checkbox": "1.0.4",
"uni-data-picker": "2.0.0",
"uni-data-select": "1.0.7",
"uni-dateformat": "1.0.0",
"uni-datetime-picker": "2.2.29",
"uni-datetime-picker": "2.2.30",
"uni-drawer": "1.2.1",
"uni-easyinput": "1.1.10",
"uni-easyinput": "1.1.14",
"uni-fab": "1.2.5",
"uni-fav": "1.2.1",
"uni-file-picker": "1.0.6",
Expand All @@ -27,13 +27,13 @@
"uni-load-more": "1.3.3",
"uni-nav-bar": "1.3.11",
"uni-notice-bar": "1.2.2",
"uni-number-box": "1.2.3",
"uni-number-box": "1.2.4",
"uni-pagination": "1.2.4",
"uni-popup": "1.8.4",
"uni-popup": "1.8.7",
"uni-rate": "1.3.1",
"uni-row": "1.0.0",
"uni-scss": "1.0.3",
"uni-search-bar": "1.2.4",
"uni-search-bar": "1.2.5",
"uni-section": "0.0.1",
"uni-segmented-control": "1.2.0",
"uni-steps": "1.1.1",
Expand Down
2 changes: 2 additions & 0 deletions uni_modules/uni-easyinput/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 1.1.14(2024-02-19)
- 修复 onBlur的emit传值错误
## 1.1.12(2024-01-29)
- 补充 adjust-position文档属性补充
## 1.1.11(2024-01-29)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ export default {
* 外部调用方法
* 失去焦点时触发
* @param {Object} event
*/
onBlur() {
this.focused = false;
this.$emit('focus', null);
*/
onBlur() {
this.focused = false;
this.$emit('blur', null);
},
_Blur(event) {
let value = event.detail.value;
Expand Down
2 changes: 1 addition & 1 deletion uni_modules/uni-easyinput/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "uni-easyinput",
"displayName": "uni-easyinput 增强输入框",
"version": "1.1.12",
"version": "1.1.14",
"description": "Easyinput 组件是对原生input组件的增强",
"keywords": [
"uni-ui",
Expand Down
24 changes: 14 additions & 10 deletions uni_modules/uni-ui/changelog.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
## 1.5.1(2024-02-19)
- uni-data-checkbox 修复 修复错别字chagne为change
- uni-datetime-picker 修复 隐藏“秒”时,在IOS15及以下版本时出现 结束时间在开始时间之前 的bug [详情](https://github.com/dcloudio/uni-ui/issues/788)
- uni-easyinput 修复 onBlur的emit传值错误
- uni-easyinput 补充 adjust-position文档属性补充
- uni-easyinput 补充 adjust-position属性传递值:(Boolean)当键盘弹起时,是否自动上推页面
- uni-number-box 修复 加减号垂直位置偏移样式问题
- uni-popup 新增 uni-popup-dialog 新增属性focus:input模式下,是否自动自动聚焦
- uni-popup 新增 uni-popup-dialog 新增属性maxLength:限制输入框字数
- uni-popup 新增 uni-popup-dialog 新增属性showClose:控制关闭按钮的显示
- uni-search-bar 修复 uni-search-bar居中问题,现在默认居左,并修复样式偏移问题
## 1.5.0(2024-01-13)
- uni-data-select 修复 长文本回显超过容器的bug,超过容器部分显示省略号
- uni-datetime-picker 新增 show事件,弹窗弹出时触发该事件 [详情](https://github.com/dcloudio/uni-app/issues/4694)
- uni-datetime-picker 去除 noChange事件,当进行日期范围选择时,若只选了一天,则开始结束日期都为同一天 [详情](https://github.com/dcloudio/uni-ui/issues/815)
- uni-easyinput 去除 移除无用的log输出
- uni-swipe-action 修复 点击按钮时,按钮会被点击穿透导致自动收缩的 bug(兼容阿里/百度/抖音小程序)
- uni-swipe-action 修复 点击按钮时,按钮会被点击穿透导致自动收缩的 bug
- uni-tooltip 新增 placement支持设置四个方向:top bottom left right
- fix: 修复图标大小默认值错误的问题
## 1.4.28(2023-04-23)
- 修复 npm包结构目录错误的问题
- uni-calendar 修复 回到今天时,月份显示不一致问题
- uni-data-picker 新增 支持 uni-app-x
- uni-datetime-picker 优化 增加noChange事件,当进行日期范围选择时,若有空值,则触发该事件 [详情](https://github.com/dcloudio/uni-ui/issues/815)
Expand All @@ -18,6 +21,7 @@
- uni-file-picker 新增 微信小程序不再调用chooseImage,而是调用chooseMedia
- uni-file-picker 新增 上传文件至云存储携带本地文件名称
- uni-forms 优化 labelWidth 描述错误
fix: 修复图标大小默认值错误的问题
- uni-icons 修复 项目未使用 ts 情况下,打包报错的bug
- uni-icons 修复 size 属性为 string 时,不加单位导致尺寸异常的bug
- uni-icons 优化 兼容老版本icon类型,如 top ,bottom 等
Expand All @@ -30,7 +34,7 @@
更新示例工程
- uni-popup 新增 uni-popup 支持uni-app-x 注意暂时仅支持 `maskClick` `@open` `@close`
- uni-table 修复 uni-tr只有一列时minWidth计算错误,列变化实时计算更新
## 1.4.27(2023-04-23
## 1.4.27(2023-04-21
- uni-calendar 修复 某些情况 monthSwitch 未触发的Bug
- uni-calendar 修复 某些情况切换月份错误的Bug
- uni-data-picker 修复 更改 modelValue 报错的 bug
Expand Down

0 comments on commit a8aa223

Please sign in to comment.