three-trees-ui 1.1.11 → 1.1.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "three-trees-ui",
3
- "version": "1.1.11",
3
+ "version": "1.1.12",
4
4
  "publicPath": "/ui",
5
5
  "author": "hotent",
6
6
  "private": false,
@@ -2390,11 +2390,13 @@ export default {
2390
2390
  .then(() => {
2391
2391
  let s = []
2392
2392
  for (let i = 0; i < this.tableData.selectRows.length; i++) {
2393
- s.push(
2394
- this.tableData.selectRows[i][
2395
- this.templateInfo.pkField ? this.templateInfo.pkField : 'id_'
2396
- ]
2397
- )
2393
+ let delId = this.tableData.selectRows[i][
2394
+ this.templateInfo.pkField ? this.templateInfo.pkField : 'id_'
2395
+ ]
2396
+ if (!delId && this.tableData.selectRows[i]['id_']) {
2397
+ delId = this.tableData.selectRows[i]['id_']
2398
+ }
2399
+ s.push(delId)
2398
2400
  }
2399
2401
  let data = {
2400
2402
  ids: s.join(','),