isobit-ui 0.0.459 → 0.0.463
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 +5 -3
- 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.463
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5904,7 +5904,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5904
5904
|
var me = this;
|
|
5905
5905
|
var f = me.$children[0];
|
|
5906
5906
|
f.action;
|
|
5907
|
-
|
|
5907
|
+
var cb = e.$vnode ? e.$vnode.load : null;
|
|
5908
5908
|
var t = e.$vnode ? e : me.$children[0].$children[0];
|
|
5909
5909
|
var key = t.$attrs.rowkey;
|
|
5910
5910
|
if (!key) key = t.rowKey;
|
|
@@ -5935,6 +5935,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5935
5935
|
|
|
5936
5936
|
t.rowSelect(null, -1);
|
|
5937
5937
|
t.selected = [];
|
|
5938
|
+
if (cb) cb();
|
|
5938
5939
|
me.$emit('destroyed', ele);
|
|
5939
5940
|
}
|
|
5940
5941
|
}, ['SI', 'NO']);
|
|
@@ -5943,7 +5944,8 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5943
5944
|
var id = dat[key];
|
|
5944
5945
|
me.MsgBox('Esta seguro que desea eliminar el registro seleccionado?', function (r) {
|
|
5945
5946
|
if (r == 0) {
|
|
5946
|
-
|
|
5947
|
+
var src = t.src.replace('/0/0', '');
|
|
5948
|
+
axios$1["delete"](src + '/' + id).then(function () {
|
|
5947
5949
|
me.MsgBox('Registro eliminado');
|
|
5948
5950
|
var id = dat.id;
|
|
5949
5951
|
|