调整车站引导总锁在地图绘制中不显示,增加字体的默认状态
This commit is contained in:
parent
a5543cb1b4
commit
93be0b7ff6
@ -1,4 +1,5 @@
|
||||
import { deepAssign } from '@/utils/index';
|
||||
import deviceType from './deviceType';
|
||||
|
||||
// 所有默认状态在这里都要有 用来转换后台发送的数据状态
|
||||
class Status {
|
||||
@ -115,6 +116,9 @@ class Status {
|
||||
handleOutFrame(device) {
|
||||
this.statusObj = { };
|
||||
}
|
||||
handleText(device) {
|
||||
this.statusObj = { };
|
||||
}
|
||||
getStatus() {
|
||||
return this.statusObj;
|
||||
}
|
||||
|
@ -29,7 +29,10 @@ export default class Station extends Group {
|
||||
});
|
||||
this.create();
|
||||
this.createTurnBack(); // 创建按图折返
|
||||
const path = window.location.href;
|
||||
if (!path.includes('/map/draw')) {
|
||||
this.createGuideTotalLock(); // 创建引导总锁
|
||||
}
|
||||
this.createControlMode();
|
||||
this.setState(model);
|
||||
this.checkIsDrawMap();
|
||||
|
@ -147,7 +147,7 @@ export default {
|
||||
createControlMode:false,
|
||||
createTurnBack:false,
|
||||
guideTotalLock: false,
|
||||
guideTotalLockPoint: {x: 0, y: 0},
|
||||
guideTotalLockPoint: {x: 0, y: 0}, // 引导总锁坐标
|
||||
turnBackPoint: {x: 0, y: 0}, // 按图折返坐标
|
||||
controlModePoint: { x: 0, y: 0 } // 控制模式坐标
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user