通信状态提示位置调整
This commit is contained in:
parent
13e5b77a97
commit
97b767248e
@ -120,9 +120,7 @@ import {
|
|||||||
import { GatedBox, GatedBoxTemplate } from 'src/graphics/gatedBox/GatedBox';
|
import { GatedBox, GatedBoxTemplate } from 'src/graphics/gatedBox/GatedBox';
|
||||||
import { EsbButton, EsbButtonTemplate } from 'src/graphics/esbButton/EsbButton';
|
import { EsbButton, EsbButtonTemplate } from 'src/graphics/esbButton/EsbButton';
|
||||||
import { StopPositionData } from './graphics/StopPositionInteraction';
|
import { StopPositionData } from './graphics/StopPositionInteraction';
|
||||||
import {
|
import { SpksSwitchData } from './graphics/SpksSwitchInteraction';
|
||||||
SpksSwitchData,
|
|
||||||
} from './graphics/SpksSwitchInteraction';
|
|
||||||
import { GatedBoxData } from './graphics/GatedBoxInteraction';
|
import { GatedBoxData } from './graphics/GatedBoxInteraction';
|
||||||
import {
|
import {
|
||||||
EsbButtonData,
|
EsbButtonData,
|
||||||
@ -531,7 +529,7 @@ function handleSubscribe(lineScene: IGraphicScene) {
|
|||||||
msgNotify = Notify.create({
|
msgNotify = Notify.create({
|
||||||
type: 'negative',
|
type: 'negative',
|
||||||
timeout: 0,
|
timeout: 0,
|
||||||
position: 'top-right',
|
position: 'top',
|
||||||
message: '通信链接已断开!',
|
message: '通信链接已断开!',
|
||||||
});
|
});
|
||||||
} else if (msgNotify && connected) {
|
} else if (msgNotify && connected) {
|
||||||
|
@ -159,7 +159,7 @@ function handleSubscribe(relayScene: IGraphicScene) {
|
|||||||
msgNotify = Notify.create({
|
msgNotify = Notify.create({
|
||||||
type: 'negative',
|
type: 'negative',
|
||||||
timeout: 0,
|
timeout: 0,
|
||||||
position: 'top-right',
|
position: 'top',
|
||||||
message: '通信链接已断开!',
|
message: '通信链接已断开!',
|
||||||
});
|
});
|
||||||
} else if (msgNotify && connected) {
|
} else if (msgNotify && connected) {
|
||||||
|
Loading…
Reference in New Issue
Block a user