mali-applet-ui 1.1.14 → 1.1.15

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.
@@ -204,7 +204,7 @@ export default {
204
204
  },
205
205
  updateCheckStatus () {
206
206
  const { keyField } = this
207
- this.isAllCheckboxChecked = this.treeData.every(item => this.selectCheckboxRowKeys.includes(item[keyField]))
207
+ this.isAllCheckboxChecked = this.treeData.length && this.treeData.every(item => this.selectCheckboxRowKeys.includes(item[keyField]))
208
208
  this.isAllCheckboxIndeterminate = !this.isAllCheckboxChecked && this.treeData.some(item => this.selectCheckboxRowKeys.includes(item[keyField]) || this.indeterminateRowKeys.includes(item[keyField]))
209
209
  },
210
210
  initCheckboxRows (selecKeys) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",