优化快捷支付

This commit is contained in:
gyq
2024-05-17 18:33:52 +08:00
parent 6f378cc3c0
commit dbc7444e78
7 changed files with 152 additions and 109 deletions

View File

@@ -141,7 +141,7 @@ async function printHandle() {
};
ipcRenderer.send("printerInfoSync", JSON.stringify(data));
} else {
ElMessage.error("您还没有添加本地打印设备,将使用网络打印");
// ElMessage.error("您还没有添加本地打印设备,将使用网络打印");
try {
printLoading.value = true;
await print({
@@ -150,7 +150,7 @@ async function printHandle() {
orderId: props.orderInfo.id,
});
printLoading.value = false;
ElMessage.success("打印成功");
// ElMessage.success("打印成功");
} catch (error) {
printLoading.value = false;
console.log(error);