代码抽取优化、添加重要提示

This commit is contained in:
zhouyuejun
2018-12-13 18:15:41 +08:00
parent 95db4e4450
commit ffc263e7d1
26 changed files with 866 additions and 574 deletions
+1 -2
View File
@@ -1,7 +1,6 @@
/**
* 登机门显示转换
*/
import timeFormatter from './time-formatter';
export default function (flight) {
if (flight['GTDT']) {
@@ -13,7 +12,7 @@ export default function (flight) {
let set = new Set(gate);
return Array.from(set).join(',');
} else {
return flight['GTDT']['GATE'];
return '';
}
} else {
return '';