isobit-ui 0.0.446 → 0.0.447
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 +4 -4
- 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.447
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -5837,9 +5837,9 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5837
5837
|
rowCreated: function rowCreated(r) {
|
|
5838
5838
|
this.row = r;
|
|
5839
5839
|
},
|
|
5840
|
-
getSelected: function getSelected() {
|
|
5840
|
+
getSelected: function getSelected(e) {
|
|
5841
5841
|
var me = this;
|
|
5842
|
-
var t = me.$children[0].$children[0];
|
|
5842
|
+
var t = e.$vnode ? e : me.$children[0].$children[0];
|
|
5843
5843
|
var s = [];
|
|
5844
5844
|
|
|
5845
5845
|
for (var i = 0; i < t.selected.length; i++) {
|
|
@@ -5871,7 +5871,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
5871
5871
|
var action = f.action;
|
|
5872
5872
|
if (!action) action = window.location.pathname;
|
|
5873
5873
|
var t = e.$vnode ? e : me.$children[0].$children[0];
|
|
5874
|
-
var selected = me.getSelected()[0];
|
|
5874
|
+
var selected = me.getSelected(t)[0];
|
|
5875
5875
|
var id = selected[t.rowKey];
|
|
5876
5876
|
if (selected.tmpId) id = -selected.tmpId;
|
|
5877
5877
|
console.log(selected);
|