将长链接剥离出来
This commit is contained in:
@@ -131,6 +131,8 @@ import useStorage from '@/utils/useStorage'
|
||||
import { useRouter } from "vue-router";
|
||||
import { bySubType } from "@/api/device";
|
||||
import { useUser } from "@/store/user.js";
|
||||
import { useSocket } from "@/store/socket.js";
|
||||
const socket = useSocket();
|
||||
|
||||
const store = useUser();
|
||||
|
||||
@@ -163,7 +165,7 @@ function getPrintList() {
|
||||
ipcRenderer.send("getPrintList");
|
||||
ipcRenderer.on("printList", (event, arg) => {
|
||||
localPrintList.value = arg;
|
||||
console.log(localPrintList.value);
|
||||
// console.log(localPrintList.value);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -237,6 +239,7 @@ const exit = async () => {
|
||||
}, 1000);
|
||||
loading.value = false;
|
||||
}
|
||||
socket.close()
|
||||
} catch (error) {
|
||||
loading.value = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user