const mapDeviceStyle = { '01': 'chengdu_01', '02': 'fuzhou_01', '03': 'bejing_01', '04': 'chengdu_03', '06': 'ningbo_01', '07': 'haerbin_01', '08': 'foshan_01', '09': 'xian_02', '10': 'xian_01', '11': 'xian_01' }; export function selectLineCode(code) { return Object.assign({}, require(`./skinCode/${mapDeviceStyle[code || '02']}`).default); }