educoreapp2 1.0.44 → 1.0.46

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.
Files changed (2) hide show
  1. package/dist/EduApp.js +6 -3
  2. package/package.json +1 -1
package/dist/EduApp.js CHANGED
@@ -67,9 +67,7 @@ class EduApp extends _react.Component {
67
67
  window.App.Config.isMenuLeave = false;
68
68
  window.App.Config.isPlayAudio = false;
69
69
  window.App.isLoad = false;
70
- setTimeout(function () {
71
- window.App.Config.loaderBaseData();
72
- }, 500);
70
+ this.loadder();
73
71
  this.tag = this.Config.BASE_PAGE;
74
72
  if (!this.getNextPage()) {
75
73
  this.tag = this.getTagFromUrl();
@@ -80,6 +78,11 @@ class EduApp extends _react.Component {
80
78
  this.APIFaker = new _APIFaker.default();
81
79
  this.API = new _API.default();
82
80
  }
81
+ async loadder() {
82
+ setTimeout(async function () {
83
+ await window.App.Config.loaderBaseData();
84
+ }, 500);
85
+ }
83
86
  loginToSystem(ss, succ, err) {
84
87
  console.log('sssss', ss);
85
88
  if (ss.code == _ApiCode.default.ERROR) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "educoreapp2",
3
3
  "private": false,
4
- "version": "1.0.44",
4
+ "version": "1.0.46",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
7
7
  "files": [