@kris701/ez-ui 1.5.5 → 1.5.6
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.
|
@@ -7076,11 +7076,14 @@ class BaseListInterface {
|
|
|
7076
7076
|
this.http = http;
|
|
7077
7077
|
}
|
|
7078
7078
|
async Init() {
|
|
7079
|
-
if (!this.isLoaded
|
|
7079
|
+
if (!this.isLoaded)
|
|
7080
7080
|
await this.Load();
|
|
7081
|
-
}
|
|
7082
7081
|
}
|
|
7083
7082
|
async Load() {
|
|
7083
|
+
if (this.isLoading) {
|
|
7084
|
+
await this.waitForValue(() => this.isLoaded === true);
|
|
7085
|
+
return;
|
|
7086
|
+
}
|
|
7084
7087
|
if (!this.isLoading && this.canGetAll) {
|
|
7085
7088
|
this.isLoaded = false;
|
|
7086
7089
|
this.isLoading = true;
|