优化打印效果
This commit is contained in:
@@ -66,7 +66,7 @@ import { ipcRenderer } from 'electron'
|
||||
|
||||
const emit = defineEmits('paySuccess')
|
||||
|
||||
const dialogVisible = ref(false)
|
||||
const dialogVisible = ref(true)
|
||||
const props = defineProps({
|
||||
cart: {
|
||||
type: Array,
|
||||
@@ -101,7 +101,7 @@ function printHandle() {
|
||||
remark: props.remark,
|
||||
orderId: props.orderId
|
||||
}
|
||||
ipcRenderer.sendSync('printerInfoSync', JSON.stringify(data))
|
||||
ipcRenderer.send('printerInfoSync', JSON.stringify(data))
|
||||
}
|
||||
|
||||
// 订单已支付
|
||||
|
||||
Reference in New Issue
Block a user