qk-pc-ui 3.6.7 → 3.6.8
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/dist/qk-pc-ui.mjs +9 -7
- package/dist/qk-pc-ui.umd.js +15 -15
- package/package.json +1 -1
package/dist/qk-pc-ui.mjs
CHANGED
|
@@ -16360,17 +16360,19 @@ const SafeCall$1 = async (e, r) => {
|
|
|
16360
16360
|
body: !0,
|
|
16361
16361
|
fullscreen: !0,
|
|
16362
16362
|
background: "rgba(0, 0, 0, 0.7)"
|
|
16363
|
-
});
|
|
16363
|
+
}), currentLoding.setText = (n) => r = n;
|
|
16364
|
+
let t = 0, a = setInterval(() => {
|
|
16365
|
+
t += 1, currentLoding.text.value = `${r}(${t})`;
|
|
16366
|
+
}, 1e3);
|
|
16364
16367
|
try {
|
|
16365
16368
|
await e(currentLoding);
|
|
16366
|
-
} catch (
|
|
16367
|
-
|
|
16368
|
-
|
|
16369
|
-
ElMessageBox.alert(a, "错误提示");
|
|
16369
|
+
} catch (n) {
|
|
16370
|
+
let i = n.message || n.resultcontent;
|
|
16371
|
+
ElMessageBox.alert(i, "错误提示");
|
|
16370
16372
|
}
|
|
16371
|
-
currentLoding.close(), currentLoding = null;
|
|
16373
|
+
clearInterval(a), currentLoding.close(), currentLoding = null;
|
|
16372
16374
|
} else
|
|
16373
|
-
await e();
|
|
16375
|
+
await e(currentLoding);
|
|
16374
16376
|
}, SendPrintToDevice = (dataId, printName, result) => new Promise((resolve, reject) => {
|
|
16375
16377
|
try {
|
|
16376
16378
|
let LODOP = getLodop();
|