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.
@@ -33756,7 +33756,7 @@ _main_vue__WEBPACK_IMPORTED_MODULE_0__["default"].register({
33756
33756
  /***/ "9224":
33757
33757
  /***/ (function(module) {
33758
33758
 
33759
- module.exports = JSON.parse("{\"a\":\"1.1.11\"}");
33759
+ module.exports = JSON.parse("{\"a\":\"1.1.12\"}");
33760
33760
 
33761
33761
  /***/ }),
33762
33762
 
@@ -39511,7 +39511,11 @@ const req = function (url, data = {}, option = {}) {
39511
39511
  }).then(() => {
39512
39512
  let s = [];
39513
39513
  for (let i = 0; i < this.tableData.selectRows.length; i++) {
39514
- s.push(this.tableData.selectRows[i][this.templateInfo.pkField ? this.templateInfo.pkField : 'id_']);
39514
+ let delId = this.tableData.selectRows[i][this.templateInfo.pkField ? this.templateInfo.pkField : 'id_'];
39515
+ if (!delId && this.tableData.selectRows[i]['id_']) {
39516
+ delId = this.tableData.selectRows[i]['id_'];
39517
+ }
39518
+ s.push(delId);
39515
39519
  }
39516
39520
  let data = {
39517
39521
  ids: s.join(','),
@@ -33765,7 +33765,7 @@ _main_vue__WEBPACK_IMPORTED_MODULE_0__["default"].register({
33765
33765
  /***/ "9224":
33766
33766
  /***/ (function(module) {
33767
33767
 
33768
- module.exports = JSON.parse("{\"a\":\"1.1.11\"}");
33768
+ module.exports = JSON.parse("{\"a\":\"1.1.12\"}");
33769
33769
 
33770
33770
  /***/ }),
33771
33771
 
@@ -39520,7 +39520,11 @@ const req = function (url, data = {}, option = {}) {
39520
39520
  }).then(() => {
39521
39521
  let s = [];
39522
39522
  for (let i = 0; i < this.tableData.selectRows.length; i++) {
39523
- s.push(this.tableData.selectRows[i][this.templateInfo.pkField ? this.templateInfo.pkField : 'id_']);
39523
+ let delId = this.tableData.selectRows[i][this.templateInfo.pkField ? this.templateInfo.pkField : 'id_'];
39524
+ if (!delId && this.tableData.selectRows[i]['id_']) {
39525
+ delId = this.tableData.selectRows[i]['id_'];
39526
+ }
39527
+ s.push(delId);
39524
39528
  }
39525
39529
  let data = {
39526
39530
  ids: s.join(','),