kui-utils 0.0.30 → 0.0.31
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/cjs/index.js +3 -1
- package/cjs/index.js.map +1 -1
- package/index.js +4 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/cjs/index.js
CHANGED
|
@@ -2222,7 +2222,9 @@ var Loader = /** @class */ (function () {
|
|
|
2222
2222
|
return new Promise(function (resolve) {
|
|
2223
2223
|
// eslint-disable-next-line no-promise-executor-return
|
|
2224
2224
|
return setTimeout(function () {
|
|
2225
|
-
|
|
2225
|
+
mobx.runInAction(function () {
|
|
2226
|
+
_this.isLoading = false;
|
|
2227
|
+
});
|
|
2226
2228
|
resolve(true);
|
|
2227
2229
|
}, _this.delayTime - (_this.timeAfterLoading - _this.timeBeforeLoading));
|
|
2228
2230
|
});
|