uview-plus 3.1.39 → 3.1.40

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.1.40(2023-11-16)
2
+ 修复u-slider双向绑定
1
3
  ## 3.1.39(2023-11-10)
2
4
  修复头条小程序不支持env(safe-area-inset-bottom)
3
5
  优化#201u-grid 指定列数导致闪烁
@@ -7,7 +7,7 @@
7
7
  :min="min"
8
8
  :max="max"
9
9
  :step="step"
10
- :value="value"
10
+ :value="modelValue"
11
11
  :activeColor="activeColor"
12
12
  :backgroundColor="inactiveColor"
13
13
  :blockSize="$u.getPx(blockSize)"
@@ -27,7 +27,7 @@
27
27
  export default {
28
28
  name: 'u--slider',
29
29
  mixins: [mpMixin, mixin, props],
30
- emits: ["changing", "change"],
30
+ emits: ["changing", "change", "update:modelValue"],
31
31
  methods: {
32
32
  // 拖动过程中触发
33
33
  changingHandler(e) {
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.1.39",
5
+ "version": "3.1.40",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",