Skip to content

Commit

Permalink
fix: #355 瀑布流大小写
Browse files Browse the repository at this point in the history
  • Loading branch information
jry committed May 10, 2024
1 parent a73b0d0 commit 5f14088
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/uni_modules/uview-plus/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 3.2.20(2024-05-10)
修复瀑布流大小写#355
## 3.2.19(2024-05-10)
去除意外的文件引入
## 3.2.18(2024-05-09)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@
if (index != -1) this.$emit('input', this.value.splice(index, 1));
// #endif
// #ifdef VUE3
index = this.modelvalue.findIndex(val => val[this.idKey] == id);
if (index != -1) this.$emit('input', this.modelvalue.splice(index, 1));
index = this.modelValue.findIndex(val => val[this.idKey] == id);
if (index != -1) this.$emit('input', this.modelValue.splice(index, 1));
// #endif
},
// 修改某条数据的某个属性
Expand All @@ -177,15 +177,15 @@
index = this.value.findIndex(val => val[this.idKey] == id);
// #endif
// #ifdef VUE3
index = this.modelvalue.findIndex(val => val[this.idKey] == id);
index = this.modelValue.findIndex(val => val[this.idKey] == id);
// #endif
if (index != -1) {
// 首先复制一份value的数据
// #ifdef VUE2
let data = this.cloneData(this.value);
// #endif
// #ifdef VUE3
let data = this.cloneData(this.modelvalue);
let data = this.cloneData(this.modelValue);
// #endif
// 修改对应索引的key属性的值为value
data[index][key] = value;
Expand Down
2 changes: 1 addition & 1 deletion src/uni_modules/uview-plus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "uview-plus",
"name": "uview-plus",
"displayName": "uview-plus3.0重磅发布,全面的Vue3移动组件库。",
"version": "3.2.19",
"version": "3.2.20",
"description": "uview-plus已兼容vue3,全面的组件和便捷的工具会让您信手拈来,如鱼得水",
"keywords": [
"uview",
Expand Down

0 comments on commit 5f14088

Please sign in to comment.