This commit is contained in:
mmc
2026-05-26 15:49:22 +08:00
parent 793e473ab9
commit aa19fa9670
5 changed files with 14 additions and 26 deletions

View File

@@ -15,9 +15,7 @@ import {
CarOutlined
} from '@ant-design/icons';
import { useSelector } from 'react-redux';
import { getDeviceListApi } from '../../api/device.ts';
import { RootState } from '@/src/store';
import DroneLivePlayer from '../VolcRtcPlayer.jsx';
import DroneVideoPlayer from './DroneVideoPlayer';
import AgoraTextTest from '../AgoraRtc.tsx';

View File

@@ -186,9 +186,6 @@ export default function WayLinePage({ planedevices }) {
setTaskForm(prev => ({ ...prev, sn: listDrone.gateway_sn || '' }));
}
}, [listDrone]);
// ==============================================
// ✅ 创建任务模块结束
// ==============================================
// 顶部统计
const topCards = [
@@ -503,7 +500,8 @@ export default function WayLinePage({ planedevices }) {
allowClear
options={planedevices?.map(item => ({
value: item.device_sn,
label: item.drone_callsign || item.device_sn
label: item.drone_callsign || item.device_sn || item.callsign
}))}
value={listDrone?.device_sn}
onChange={(val) => {