删除测试代码

This commit is contained in:
fan 2023-07-27 17:47:50 +08:00
parent 4a1704dfc9
commit 704ab365f5

View File

@ -262,12 +262,6 @@ export async function loadLineDatas(app: GraphicApp) {
}); });
let msgNotify: null | ((props?: QNotifyUpdateOptions | undefined) => void) = let msgNotify: null | ((props?: QNotifyUpdateOptions | undefined) => void) =
null; null;
Notify.create({
type: 'negative',
timeout: 0,
position: 'top-right',
message: '通信链接已断开!',
});
app.on('websocket-connect-state-change', (connected) => { app.on('websocket-connect-state-change', (connected) => {
if (!connected && !msgNotify) { if (!connected && !msgNotify) {
msgNotify = Notify.create({ msgNotify = Notify.create({