isobit-ui 0.0.476 → 0.0.501
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/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.0.
|
|
2
|
+
* isobit-ui v0.0.501
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5946,13 +5946,14 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5946
5946
|
var src = t.src.replace('/0/0', '');
|
|
5947
5947
|
var ele = [];
|
|
5948
5948
|
axios$1["delete"](src + '/' + id).then(function () {
|
|
5949
|
-
|
|
5950
|
-
for (var k = t.selected.length - 1; k >= 0; k--) {
|
|
5951
|
-
dat = t.data[t.selected[k]]; //if(dat.tmpId){
|
|
5949
|
+
console.log(t.selected);
|
|
5952
5950
|
|
|
5951
|
+
for (var k = t.selected.length - 1; k >= 0; k--) {
|
|
5952
|
+
console.log('k=' + k);
|
|
5953
|
+
dat = t.data[t.selected[k]];
|
|
5953
5954
|
ele.push(dat);
|
|
5954
|
-
console.log(
|
|
5955
|
-
t.data.splice(t.selected[k], 1);
|
|
5955
|
+
console.log(ele);
|
|
5956
|
+
t.data.splice(t.selected[k], 1);
|
|
5956
5957
|
}
|
|
5957
5958
|
|
|
5958
5959
|
if (me.app && me.app.toast) me.app.toast(ele.length + ' registros eliminados');else me.MsgBox(ele.length + ' registros eliminados');
|