uview-plus 3.1.14 → 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,9 @@
1
+ ## 3.1.16(2022-10-21)
2
+ 修复u-switch、u-picker等
3
+ ## 3.1.15(2022-10-13)
4
+ 修复:数据更新后,上传组件的视图没有更新
5
+ 复选框 超出不换行
6
+ 单选框 超出不换行
1
7
  ## 3.1.14(2022-10-11)
2
8
  swipe-action-item组件增加emits定义
3
9
  ## 3.1.13(2022-09-19)
@@ -279,6 +279,8 @@
279
279
  overflow: hidden;
280
280
  flex-direction: row;
281
281
  align-items: center;
282
+ margin-bottom: 5px;
283
+ margin-top: 5px;
282
284
 
283
285
  &-label--left {
284
286
  flex-direction: row
@@ -120,7 +120,10 @@
120
120
  .u-checkbox-group {
121
121
 
122
122
  &--row {
123
- @include flex;
123
+ /* #ifndef APP-NVUE */
124
+ display: flex;
125
+ /* #endif */
126
+ flex-flow: row wrap;
124
127
  }
125
128
 
126
129
  &--column {
@@ -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
  }
@@ -269,7 +269,9 @@
269
269
  overflow: hidden;
270
270
  flex-direction: row;
271
271
  align-items: center;
272
-
272
+ margin-bottom: 5px;
273
+ margin-top: 5px;
274
+
273
275
  &-label--left {
274
276
  flex-direction: row
275
277
  }
@@ -115,7 +115,10 @@
115
115
  flex: 1;
116
116
 
117
117
  &--row {
118
- @include flex;
118
+ /* #ifndef APP-NVUE */
119
+ display: flex;
120
+ /* #endif */
121
+ flex-flow: row wrap;
119
122
  }
120
123
 
121
124
  &--column {
@@ -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>
@@ -184,7 +184,9 @@
184
184
  immediate: true,
185
185
  handler() {
186
186
  this.formatFileList()
187
- }
187
+ },
188
+ immediate: true,
189
+ deep: true,
188
190
  },
189
191
  },
190
192
  // #ifdef VUE3
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.14",
5
+ "version": "3.1.16",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",