uview-plus 3.5.16 → 3.5.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.5.17(2025-08-26)
2
+ fix: 分支合并冲突修复
3
+
4
+ feat: picker-data组件新增cancel/close/confirm事件支持
5
+
1
6
  ## 3.5.16(2025-08-26)
2
7
  feat: tabbar新增支持中间凸起按钮
3
8
 
@@ -18,8 +18,9 @@
18
18
  :columns="optionsInner"
19
19
  :keyName="labelKey"
20
20
  :defaultIndex="defaultIndex"
21
- @confirm="select"
22
- @cancel="cancel">
21
+ @confirm="confirm"
22
+ @cancel="cancel"
23
+ @close="close">
23
24
  </up-picker>
24
25
  </view>
25
26
  </template>
@@ -89,15 +90,19 @@ export default {
89
90
  return [this.options];
90
91
  }
91
92
  },
92
- emits: ['update:modelValue'],
93
+ emits: ['update:modelValue', 'cancel', 'close', 'confirm'],
93
94
  methods: {
94
95
  hideKeyboard() {
95
96
  uni.hideKeyboard()
96
97
  },
97
98
  cancel() {
98
99
  this.show = false;
100
+ this.$emit('cancel')
99
101
  },
100
- select(e) {
102
+ close() {
103
+ this.$emit('close')
104
+ },
105
+ confirm(e) {
101
106
  const {
102
107
  columnIndex,
103
108
  index,
@@ -108,6 +113,7 @@ export default {
108
113
  this.$emit('update:modelValue', value[0][this.valueKey]);
109
114
  this.defaultIndex = columnIndex;
110
115
  this.current = value[0][this.labelKey];
116
+ this.$emit('confirm')
111
117
  }
112
118
  }
113
119
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "零云®uview-plus3.0重磅发布,全面的Vue3鸿蒙跨端移动组件库,组件丰富维护更新稳定。",
5
- "version": "3.5.16",
5
+ "version": "3.5.17",
6
6
  "description": "零云®uview-plus已兼容vue3支持多语言,100+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。",
7
7
  "keywords": [
8
8
  "uview",