zhongxiaoyu 1 år sedan
förälder
incheckning
22890be50b

+ 1 - 1
src/views/realTime/components/FlightView/useFlightInfo.ts

@@ -198,7 +198,7 @@ export function useFlightInfo(name: string, dataContent: CommonValue[]) {
   const proxyItem = {
     label: '机场代理',
     key: 'proxy',
-    getter: info => (info.proxy === 1 ? '是' : '否'),
+    getter: info => (String(info.proxy) === '1' ? '是' : '否'),
   }
   if (name.includes('International')) {
     flightInfoItems.value[0].push(proxyItem)

+ 1 - 1
src/views/realTime/components/WaybillView/useWaybillInfo.ts

@@ -49,7 +49,7 @@ const waybillInfoItemsMap = {
     {
       label: '机场代理',
       key: 'proxy',
-      getter: info => (info.proxy === 1 ? '是' : '否'),
+      getter: info => (String(info.proxy) === '1' ? '是' : '否'),
     },
     {
       label: '货代公司',