|
|
@@ -70,7 +70,10 @@ onMounted(() => {
|
|
|
const printList = ref<any>([])
|
|
|
const loadLocalPrintList = () => {
|
|
|
ipc.invoke(ipcApiRoute.print.listLocalPrinters).then((res: any) => {
|
|
|
- nextTick(() => {printList.value = res; loadSetDefaultPrintName()})
|
|
|
+ nextTick(() => {
|
|
|
+ printList.value = res;
|
|
|
+ loadSetDefaultPrintName()
|
|
|
+ })
|
|
|
}, (e: any) => {
|
|
|
console.error(e)
|
|
|
})
|