uview-plus 3.1.15 → 3.1.16

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.16(2022-10-21)
2
+ 修复u-switch、u-picker等
1
3
  ## 3.1.15(2022-10-13)
2
4
  修复:数据更新后,上传组件的视图没有更新
3
5
  复选框 超出不换行
@@ -105,6 +105,7 @@ export default {
105
105
  // 监听columns参数的变化
106
106
  columns: {
107
107
  immediate: true,
108
+ deep:true,
108
109
  handler(n) {
109
110
  this.setColumns(n)
110
111
  }
@@ -12,7 +12,12 @@
12
12
  </view>
13
13
  <view
14
14
  class="u-switch__node"
15
- :class="[value && 'u-switch__node--on']"
15
+ <!-- #ifdef VUE3 -->
16
+ :class="[modelValue && 'u-switch__node--on']"
17
+ <!-- #endif -->
18
+ <!-- #ifdef VUE2 -->
19
+ :class="[value && 'u-switch__node--on']"
20
+ <!-- #endif -->
16
21
  :style="[nodeStyle]"
17
22
  ref="u-switch__node"
18
23
  >
@@ -20,7 +25,12 @@
20
25
  :show="loading"
21
26
  mode="circle"
22
27
  timingFunction='linear'
23
- :color="value ? activeColor : '#AAABAD'"
28
+ <!-- #ifdef VUE3 -->
29
+ :color="modelValue ? activeColor : '#AAABAD'"
30
+ <!-- #endif -->
31
+ <!-- #ifdef VUE2 -->
32
+ :color="value ? activeColor : '#AAABAD'"
33
+ <!-- #endif -->
24
34
  :size="size * 0.6"
25
35
  />
26
36
  </view>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "id": "uview-plus",
3
3
  "name": "uview-plus",
4
4
  "displayName": "uview-plus3.0重磅发布,利剑出鞘,一统江湖",
5
- "version": "3.1.15",
5
+ "version": "3.1.16",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",