|
@@ -288,8 +288,11 @@ export function useFlightInfo(name: string, dataContent: CommonValue[]) {
|
|
|
key: 'proxy',
|
|
|
getter: info => (info.proxy === 1 ? '是' : '否'),
|
|
|
}
|
|
|
- onMounted(() => {
|
|
|
- if (name.includes('International')) {
|
|
|
+ onBeforeMount(() => {
|
|
|
+ if (
|
|
|
+ name.includes('International') &&
|
|
|
+ !flightInfoItems.value[0].find(item => item.key === 'proxy')
|
|
|
+ ) {
|
|
|
flightInfoItems.value[0].push(proxyItem)
|
|
|
}
|
|
|
})
|