소스 검색

中转航班视图节点修改

zhongxiaoyu 2 년 전
부모
커밋
5f788c369f
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/views/realTime/components/FlightView/index.vue

+ 5 - 1
src/views/realTime/components/FlightView/index.vue

@@ -185,7 +185,11 @@ const tableFormatter: CommonTableFormatter = (
     }
   }
   if (column.property === 'nodeCode') {
-    if (props.name.includes('InternationalDeparture') && value === 'LS_CARGO') {
+    if (
+      props.name.includes('International') &&
+      props.name.includes('Departure') &&
+      value === 'LS_CARGO'
+    ) {
       return '实配'
     }
     return NODE_CODE[value] ?? value