This commit is contained in:
fan 2024-06-12 17:36:51 +08:00
commit e83a0211ed
3 changed files with 4 additions and 6 deletions

View File

@ -31,7 +31,7 @@ export function getHttpBase() {
export function getWebsocketUrl() {
let protocol = 'ws';
let host = '192.168.33.233:9091';
let host = '192.168.33.233';
// let host = 'test.joylink.club';
let port = '8083';
let url = `${protocol}://${host}:${port}`;

View File

@ -120,9 +120,7 @@ import {
import { GatedBox, GatedBoxTemplate } from 'src/graphics/gatedBox/GatedBox';
import { EsbButton, EsbButtonTemplate } from 'src/graphics/esbButton/EsbButton';
import { StopPositionData } from './graphics/StopPositionInteraction';
import {
SpksSwitchData,
} from './graphics/SpksSwitchInteraction';
import { SpksSwitchData } from './graphics/SpksSwitchInteraction';
import { GatedBoxData } from './graphics/GatedBoxInteraction';
import {
EsbButtonData,
@ -531,7 +529,7 @@ function handleSubscribe(lineScene: IGraphicScene) {
msgNotify = Notify.create({
type: 'negative',
timeout: 0,
position: 'top-right',
position: 'top',
message: '通信链接已断开!',
});
} else if (msgNotify && connected) {

View File

@ -159,7 +159,7 @@ function handleSubscribe(relayScene: IGraphicScene) {
msgNotify = Notify.create({
type: 'negative',
timeout: 0,
position: 'top-right',
position: 'top',
message: '通信链接已断开!',
});
} else if (msgNotify && connected) {