Explorar o código

中转航班视图节点修改

zhongxiaoyu %!s(int64=2) %!d(string=hai) anos
pai
achega
5f788c369f
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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