细节
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user