isobit-ui 0.0.415 → 0.0.418
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 +10 -1
- 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.418
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -6258,8 +6258,10 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6258
6258
|
|
|
6259
6259
|
if (!(_typeof(o) === 'object' && !Array.isArray(o) && o !== null)) return;
|
|
6260
6260
|
console.log('app.networkStatus.connected=' + me.app.networkStatus.connected);
|
|
6261
|
+
console.log('action=' + action);
|
|
6261
6262
|
return _invoke(function () {
|
|
6262
6263
|
if (!action || !me.app.networkStatus.connected) {
|
|
6264
|
+
console.log('app.networkStatus.connected=' + me.app.networkStatus.connected);
|
|
6263
6265
|
var store = me.$children[0].store;
|
|
6264
6266
|
|
|
6265
6267
|
if (!store) {
|
|
@@ -6283,6 +6285,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6283
6285
|
|
|
6284
6286
|
var db = window._.db;
|
|
6285
6287
|
var objectStore = db.transaction([store], "readwrite").objectStore(store);
|
|
6288
|
+
console.log('!o.id=' + !o.id);
|
|
6286
6289
|
|
|
6287
6290
|
if (!o.id) {
|
|
6288
6291
|
o.id = -new Date();
|
|
@@ -6330,6 +6333,12 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6330
6333
|
}
|
|
6331
6334
|
}, function (_result) {
|
|
6332
6335
|
if (_exit2) return _result;
|
|
6336
|
+
|
|
6337
|
+
if (1 == 1) {
|
|
6338
|
+
console.log('XXXXX');
|
|
6339
|
+
return;
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6333
6342
|
axios$1.post(action, o).then(function (result) {
|
|
6334
6343
|
var data = result.data;
|
|
6335
6344
|
|