@xuda.io/xuda-worker-bundle-min 1.3.296 → 1.3.298
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/index.js +14 -14
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -6071,19 +6071,19 @@ func.utils.alerts.invoke = async function (
|
|
|
6071
6071
|
[SESSION_ID, alert_type, alertDisplay, message]
|
|
6072
6072
|
);
|
|
6073
6073
|
}
|
|
6074
|
-
const sys_alerts_obj = func.utils.get_system_error_msg();
|
|
6075
|
-
if (sys_alerts_obj[paramsP]) {
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6083
|
-
|
|
6084
|
-
} else {
|
|
6085
|
-
|
|
6086
|
-
}
|
|
6074
|
+
// const sys_alerts_obj = func.utils.get_system_error_msg();
|
|
6075
|
+
// if (sys_alerts_obj[paramsP]) {
|
|
6076
|
+
// var str = paramsP + " " + title + " " + message;
|
|
6077
|
+
// if (sys_alerts_obj[paramsP].alert_type === "error") {
|
|
6078
|
+
// console.error(str);
|
|
6079
|
+
// } else if (sys_alerts_obj[paramsP].alert_type === "warning") {
|
|
6080
|
+
// console.warn(str);
|
|
6081
|
+
// } else {
|
|
6082
|
+
// console.log(str);
|
|
6083
|
+
// }
|
|
6084
|
+
// } else {
|
|
6085
|
+
// console.log(str);
|
|
6086
|
+
// }
|
|
6087
6087
|
|
|
6088
6088
|
ALERT_IS_ACTIVE = false;
|
|
6089
6089
|
|
|
@@ -6120,7 +6120,7 @@ func.utils.alerts.execute = function (
|
|
|
6120
6120
|
|
|
6121
6121
|
switch (alertDisplay) {
|
|
6122
6122
|
case "console":
|
|
6123
|
-
console[
|
|
6123
|
+
console[alertDisplay](alert_type, title, message);
|
|
6124
6124
|
ALERT_IS_ACTIVE = false;
|
|
6125
6125
|
break;
|
|
6126
6126
|
|