From 124172f6f01d1e55fd9537ade52241aa84dcaf2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=9A=E7=8E=89=E5=B8=86?= Date: Mon, 12 Feb 2024 18:53:40 +0800 Subject: [PATCH] update --- src/views/list/sat/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/list/sat/index.vue b/src/views/list/sat/index.vue index 6fdd695..c7d834e 100644 --- a/src/views/list/sat/index.vue +++ b/src/views/list/sat/index.vue @@ -198,8 +198,8 @@ const changeSat = async (sat: any) => { freqFlag = true state.tx = parseFloat(e.uplink) state.rx = parseFloat(e.downlink) - state.txTone = parseFloat(state.CTCSSOption.reduce((_e: any)=>{ - return e.mode.indexOf(_e) != -1 ? _e : 0 + state.txTone = parseFloat(state.CTCSSOption.reduce((_e: any, _n: any)=>{ + return e.mode.indexOf(_n) != -1 ? _n : _e })) } })