@kaiyinchem/ky-uniui 1.0.9 → 1.0.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.
@@ -115,6 +115,9 @@
115
115
  },
116
116
  mapList(v) {
117
117
  if (typeof v === 'undefined') {
118
+ this.index = 0
119
+ this.multiIndex = [0, 0]
120
+ this.checked = ''
118
121
  return
119
122
  }
120
123
  if (this.mode === 'multiSelector') {
@@ -132,7 +135,7 @@
132
135
  } else {
133
136
  e.child = []
134
137
  }
135
- return { id: e.id, name: e.name, index: i }
138
+ return { ...e, id: e.id, name: e.name, index: i }
136
139
  })
137
140
  this.names = [firstColumn, secondColumn]
138
141
  setTimeout(() => {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.9",
10
+ "version": "1.0.11",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"