通信状态提示位置调整

This commit is contained in:
joylink_fanyuhong 2024-06-06 17:47:17 +08:00
parent 13e5b77a97
commit 97b767248e
2 changed files with 3 additions and 5 deletions

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) {