rt-sim-training-client/src/jmapNew/config/deviceStyle.js

15 lines
352 B
JavaScript
Raw Normal View History

2019-11-29 12:51:58 +08:00
const mapDeviceStyle = {
'01': 'chengdu_01',
2020-04-08 18:38:08 +08:00
// '01': 'xian_02'
2019-11-29 12:51:58 +08:00
'02': 'fuzhou_01',
'03': 'bejing_01',
'04': 'chengdu_03',
'06': 'ningbo_01',
'07': 'haerbin_01',
'08': 'foshan_01'
2019-11-29 12:51:58 +08:00
};
export function selectLineCode(code) {
return Object.assign({}, require(`./skinCode/${mapDeviceStyle[code || '02']}`).default);
}