删除测试代码
This commit is contained in:
parent
4a1704dfc9
commit
704ab365f5
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user