uview-plus 3.2.10 → 3.2.11

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.11(2024-04-18)
2
+ 修复import化带来的问题
1
3
  ## 3.2.10(2024-04-17)
2
4
  完善input清空事件App端失效的兼容性
3
5
 
@@ -258,18 +258,16 @@
258
258
  // 更新各列的值,进行补0、格式化等操作
259
259
  updateColumnValue(value) {
260
260
  this.innerValue = value
261
- this.updateColumns()
262
- // 延迟执行,等待u-picker组件列数据更新完后再设置选中值索引
263
- setTimeout(() => {
264
- this.updateIndexs(value)
265
- }, 0);
266
-
261
+ this.updateColumns()
262
+ // 延迟执行,等待u-picker组件列数据更新完后再设置选中值索引
263
+ setTimeout(() => {
264
+ this.updateIndexs(value)
265
+ }, 0);
267
266
  },
268
267
  // 更新索引
269
268
  updateIndexs(value) {
270
269
  let values = []
271
270
  const formatter = this.formatter || this.innerFormatter
272
- const padZero = padZero
273
271
  if (this.mode === 'time') {
274
272
  // 将time模式的时间用:分隔成数组
275
273
  const timeArr = value.split(':')
@@ -256,17 +256,17 @@
256
256
  const {
257
257
  height
258
258
  } = size
259
- const sys = sys()
260
- const windowHeight = sys.windowHeight
259
+ const sysData = sys()
260
+ const windowHeight = sysData.windowHeight
261
261
  let customNavHeight = 0
262
262
  // 消除各端导航栏非原生和原生导致的差异,让索引列表字母对屏幕垂直居中
263
263
  if (this.customNavHeight == 0) {
264
264
  // #ifdef H5
265
- customNavHeight = sys.windowTop
265
+ customNavHeight = sysData.windowTop
266
266
  // #endif
267
267
  // #ifndef H5
268
268
  // 在非H5中,为原生导航栏,其高度不算在windowHeight内,这里设置为负值,后面相加时变成减去其高度的一半
269
- customNavHeight = -(sys.statusBarHeight + 44)
269
+ customNavHeight = -(sysData.statusBarHeight + 44)
270
270
  // #endif
271
271
  } else {
272
272
  customNavHeight = getPx(this.customNavHeight)
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.10",
5
+ "version": "3.2.11",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",