This commit is contained in:
ival 2019-07-18 18:26:56 +08:00
parent ed840d2359
commit c4cad61cb6
2 changed files with 5 additions and 4 deletions

View File

@ -71,7 +71,7 @@ class Fuzhou extends defaultSkin {
/** 自动信号宽度*/ /** 自动信号宽度*/
signalSigPassWidth: 6, signalSigPassWidth: 6,
/** 延迟解锁字体大小*/ /** 延迟解锁字体大小*/
signalDelayTextFontSize: 10, signalDelayTextFontSize: 9,
/** 信号机名称字体大小*/ /** 信号机名称字体大小*/
signalTextFontSize: 12, signalTextFontSize: 12,
/** 灯柱宽度*/ /** 灯柱宽度*/

View File

@ -41,6 +41,7 @@ export default {
optionsUpdate() { console.log('optionsUpdate'); } optionsUpdate() { console.log('optionsUpdate'); }
} }
}); });
this.jmap.on('selected', this.selected); this.jmap.on('selected', this.selected);
this.jmap.on('contextmenu', this.contextmenu); this.jmap.on('contextmenu', this.contextmenu);
@ -51,10 +52,10 @@ export default {
// } // }
// } // }
// this.jmap.loadData({ skinVO: { code: '03' }, linkList: list }); // this.jmap.load({ skinVO: { code: '02' }, linkList: list });
getPublishMapDetail('03').then(resp => { getPublishMapDetail('02').then(resp => {
this.jmap.loadData(resp.data); this.jmap.load(resp.data);
// this.jmap.setDefaultState(); // this.jmap.setDefaultState();
this.jmap.setLevelInvisible([deviceType.Link]); this.jmap.setLevelInvisible([deviceType.Link]);
}); });