@factoringplus/pl-components-pack-v3 0.4.44 → 0.4.45
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.
|
@@ -36598,7 +36598,16 @@ const parseMessageAlert = (error2) => {
|
|
|
36598
36598
|
function loadingAndSetup(bindData, apiCall, apiParams, loadingArr, fastResponse = false) {
|
|
36599
36599
|
let loadingInstanceArr = null;
|
|
36600
36600
|
if (fastResponse) {
|
|
36601
|
-
|
|
36601
|
+
const arrGet = apiCall.split("/");
|
|
36602
|
+
let result;
|
|
36603
|
+
arrGet.forEach((e2) => {
|
|
36604
|
+
if (!result) {
|
|
36605
|
+
result = loadingAndSetup.prototype.store.state[e2];
|
|
36606
|
+
} else {
|
|
36607
|
+
result = result[e2];
|
|
36608
|
+
}
|
|
36609
|
+
});
|
|
36610
|
+
bindData.value = result;
|
|
36602
36611
|
} else {
|
|
36603
36612
|
loadingInstanceArr = loadingArr.map((element) => ElLoading.service({
|
|
36604
36613
|
target: document.getElementById(element)
|