uview-plus 3.6.4 → 3.6.10
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 +18 -0
- package/components/u-picker/u-picker.vue +6 -3
- package/libs/function/index.js +2 -2
- package/package.json +1 -1
package/changelog.md
CHANGED
|
@@ -1,3 +1,21 @@
|
|
|
1
|
+
## 3.6.10(2025-11-04)
|
|
2
|
+
improvment: checkbox示例改为组合式API
|
|
3
|
+
|
|
4
|
+
## 3.6.9(2025-10-21)
|
|
5
|
+
improvment: cell示例改为组合式API
|
|
6
|
+
|
|
7
|
+
## 3.6.8(2025-10-20)
|
|
8
|
+
imporvment: button示例改为组合式API
|
|
9
|
+
|
|
10
|
+
## 3.6.7(2025-10-17)
|
|
11
|
+
fix: 优化picker当前列判断
|
|
12
|
+
|
|
13
|
+
## 3.6.6(2025-10-13)
|
|
14
|
+
fix: 修复getWindowInfo微信小程序下报警告
|
|
15
|
+
|
|
16
|
+
## 3.6.5(2025-10-11)
|
|
17
|
+
🐛fix: 修复picker双向绑定 #753
|
|
18
|
+
|
|
1
19
|
## 3.6.4(2025-10-09)
|
|
2
20
|
🐛fix: import rpx2px function and add to exports in index.js
|
|
3
21
|
|
|
@@ -166,9 +166,12 @@ export default {
|
|
|
166
166
|
if (n != null) {
|
|
167
167
|
n.forEach((element, index) => {
|
|
168
168
|
let currentCols = this.getColumnValues(index)
|
|
169
|
-
if
|
|
169
|
+
if(!Array.isArray(currentCols) && currentCols.length===0) {
|
|
170
|
+
return
|
|
171
|
+
}
|
|
172
|
+
if (typeof currentCols[0] === 'object') {
|
|
170
173
|
currentCols.forEach((item, index2) => {
|
|
171
|
-
if (item[this.
|
|
174
|
+
if (item[this.valueName] == element) {
|
|
172
175
|
arr.push(index2)
|
|
173
176
|
}
|
|
174
177
|
})
|
|
@@ -317,7 +320,7 @@ export default {
|
|
|
317
320
|
// 通过对比前后两次的列索引,得出当前变化的是哪一列
|
|
318
321
|
for (let i = 0; i < value.length; i++) {
|
|
319
322
|
let item = value[i]
|
|
320
|
-
if (item !== (this.lastIndex[i] || 0)) { // 把undefined转为合法假值0
|
|
323
|
+
if (item !== undefined && item !== (this.lastIndex[i] || 0)) { // 把undefined转为合法假值0
|
|
321
324
|
// 设置columnIndex为当前变化列的索引
|
|
322
325
|
columnIndex = i
|
|
323
326
|
// index则为变化列中的变化项的索引
|
package/libs/function/index.js
CHANGED
|
@@ -80,10 +80,10 @@ export function sys() {
|
|
|
80
80
|
}
|
|
81
81
|
export function getWindowInfo() {
|
|
82
82
|
let ret = {}
|
|
83
|
-
// #ifdef APP || H5
|
|
83
|
+
// #ifdef APP || H5 || MP-WEIXIN
|
|
84
84
|
ret = uni.getWindowInfo()
|
|
85
85
|
// #endif
|
|
86
|
-
// #ifndef APP || H5
|
|
86
|
+
// #ifndef APP || H5 || MP-WEIXIN
|
|
87
87
|
ret = sys()
|
|
88
88
|
// #endif
|
|
89
89
|
return ret
|
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.6.
|
|
5
|
+
"version": "3.6.10",
|
|
6
6
|
"description": "零云®uview-plus已兼容vue3支持多语言,120+全面的组件和便捷的工具会让您信手拈来。近期新增拖动排序、条码、图片裁剪、下拉刷新、虚拟列表、签名、Markdown等。",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"uview",
|