uview-plus 3.2.18 → 3.2.20

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,7 @@
1
+ ## 3.2.20(2024-05-10)
2
+ 修复瀑布流大小写#355
3
+ ## 3.2.19(2024-05-10)
4
+ 去除意外的文件引入
1
5
  ## 3.2.18(2024-05-09)
2
6
  fix: 349 popup 组件设置 zIndex 属性后,组件渲染异常#
3
7
  feat: 搜索框增加adjustPosition属性
@@ -113,7 +113,7 @@
113
113
  },
114
114
  mounted() {
115
115
  this.init()
116
- console.log('$slots', this.$slots)
116
+ // console.log('$slots', this.$slots)
117
117
  },
118
118
  methods: {
119
119
  // 异步获取内容,或者动态修改了内容时,需要重新初始化
@@ -90,7 +90,6 @@
90
90
  import mixin from '../../libs/mixin/mixin';
91
91
  import defProps from '../../libs/config/props.js';
92
92
  import { addUnit, addStyle, deepMerge, getPx, sleep, sys } from '../../libs/function/index';
93
- import Index from '@/pages/template/login/index.vue';
94
93
  /**
95
94
  * Tabs 标签
96
95
  * @description tabs标签组件,在标签多的时候,可以配置为左右滑动,标签少的时候,可以禁止滑动。 该组件的一个特点是配置为滚动模式时,激活的tab会自动移动到组件的中间位置。
@@ -155,8 +155,8 @@
155
155
  if (index != -1) this.$emit('input', this.value.splice(index, 1));
156
156
  // #endif
157
157
  // #ifdef VUE3
158
- index = this.modelvalue.findIndex(val => val[this.idKey] == id);
159
- if (index != -1) this.$emit('input', this.modelvalue.splice(index, 1));
158
+ index = this.modelValue.findIndex(val => val[this.idKey] == id);
159
+ if (index != -1) this.$emit('input', this.modelValue.splice(index, 1));
160
160
  // #endif
161
161
  },
162
162
  // 修改某条数据的某个属性
@@ -177,7 +177,7 @@
177
177
  index = this.value.findIndex(val => val[this.idKey] == id);
178
178
  // #endif
179
179
  // #ifdef VUE3
180
- index = this.modelvalue.findIndex(val => val[this.idKey] == id);
180
+ index = this.modelValue.findIndex(val => val[this.idKey] == id);
181
181
  // #endif
182
182
  if (index != -1) {
183
183
  // 首先复制一份value的数据
@@ -185,7 +185,7 @@
185
185
  let data = this.cloneData(this.value);
186
186
  // #endif
187
187
  // #ifdef VUE3
188
- let data = this.cloneData(this.modelvalue);
188
+ let data = this.cloneData(this.modelValue);
189
189
  // #endif
190
190
  // 修改对应索引的key属性的值为value
191
191
  data[index][key] = value;
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.18",
5
+ "version": "3.2.20",
6
6
  "description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
7
7
  "keywords": [
8
8
  "uview",
@@ -52,7 +52,7 @@ declare interface _FormRef {
52
52
  /**
53
53
  * 对部分表单字段进行校验
54
54
  */
55
- validateField: (value, cb: ((errorsRes) => any)) => any
55
+ validateField: (value, cb?: ((errorsRes) => any)) => any
56
56
  /**
57
57
  * 对整个表单进行重置,将所有字段值重置为初始值并移除校验结果
58
58
  */