uview-plus 3.2.23 → 3.2.24

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,5 @@
1
+ ## 3.2.24(2024-06-11)
2
+ fix: 修复时间选择器confirm事件触发时机导致2次才会触发v-model更新
1
3
  ## 3.2.23(2024-05-30)
2
4
  fix: #378 H5 u-input 在表单中初始值为空也会触发一次 formValidate(this,"change")事件导致进入页面直接校验了一次
3
5
 
@@ -188,11 +188,6 @@
188
188
  },
189
189
  // 点击工具栏的确定按钮
190
190
  confirm() {
191
- this.$emit('confirm', {
192
- value: this.innerValue,
193
- mode: this.mode
194
- })
195
-
196
191
  // #ifdef VUE3
197
192
  this.$emit('update:modelValue', this.innerValue)
198
193
  // #endif
@@ -203,6 +198,10 @@
203
198
  this.getInputValue(this.innerValue)
204
199
  this.showByClickInput = false
205
200
  }
201
+ this.$emit('confirm', {
202
+ value: this.innerValue,
203
+ mode: this.mode
204
+ })
206
205
  },
207
206
  //用正则截取输出值,当出现多组数字时,抛出错误
208
207
  intercept(e,type){
@@ -327,6 +327,7 @@
327
327
  @include flex;
328
328
  align-items: center;
329
329
  justify-content: center;
330
+ cursor: pointer;
330
331
 
331
332
  &--disabled {
332
333
  /* #ifndef APP-NVUE */
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.2.23",
5
+ "version": "3.2.24",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",