isobit-ui 0.0.501 → 0.0.502
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 +8 -18
- 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.502
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5940,26 +5940,16 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5940
5940
|
}, ['SI', 'NO']);
|
|
5941
5941
|
} else {
|
|
5942
5942
|
if (!key) return alert('Table don`t have defined attribute \'rowkey\'');
|
|
5943
|
-
|
|
5943
|
+
dat[key];
|
|
5944
5944
|
me.MsgBox('Esta seguro que desea eliminar el registro seleccionado?', function (r) {
|
|
5945
5945
|
if (r == 0) {
|
|
5946
|
-
|
|
5947
|
-
var ele = [];
|
|
5948
|
-
axios$1["delete"](src + '/' + id).then(function () {
|
|
5949
|
-
console.log(t.selected);
|
|
5950
|
-
|
|
5951
|
-
for (var k = t.selected.length - 1; k >= 0; k--) {
|
|
5952
|
-
console.log('k=' + k);
|
|
5953
|
-
dat = t.data[t.selected[k]];
|
|
5954
|
-
ele.push(dat);
|
|
5955
|
-
console.log(ele);
|
|
5956
|
-
t.data.splice(t.selected[k], 1);
|
|
5957
|
-
}
|
|
5946
|
+
t.src.replace('/0/0', '');
|
|
5958
5947
|
|
|
5959
|
-
|
|
5960
|
-
t.
|
|
5961
|
-
t.selected
|
|
5962
|
-
|
|
5948
|
+
{
|
|
5949
|
+
console.log(t.selected);
|
|
5950
|
+
console.log('t.selected.length=' + t.selected.length);
|
|
5951
|
+
return;
|
|
5952
|
+
}
|
|
5963
5953
|
}
|
|
5964
5954
|
|
|
5965
5955
|
t.rowSelect(null, -1);
|