调整车站引导总锁在地图绘制中不显示,增加字体的默认状态

This commit is contained in:
zyy 2020-03-06 12:18:04 +08:00
parent a5543cb1b4
commit 93be0b7ff6
3 changed files with 9 additions and 2 deletions

View File

@ -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;
}

View File

@ -29,7 +29,10 @@ export default class Station extends Group {
});
this.create();
this.createTurnBack(); // 创建按图折返
this.createGuideTotalLock(); // 创建引导总锁
const path = window.location.href;
if (!path.includes('/map/draw')) {
this.createGuideTotalLock(); // 创建引导总锁
}
this.createControlMode();
this.setState(model);
this.checkIsDrawMap();

View File

@ -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 } //
},