refactor(api-batch-tracking): remove unused code
Co-Authored-By: 黄星炤 <huangxz@xiaopeng.com>
| | |
| | | message.warning('请至少添加一个测试点位') |
| | | return |
| | | } |
| | | if (vehicles.value.length === 0) { |
| | | message.warning('请至少选择一辆车辆') |
| | | return |
| | | } |
| | | const invalidPointIndex = testPoints.value.findIndex((p) => { |
| | | const startId = String(p.startTestPointId || '').trim() |
| | | const endId = String(p.endTestPointId || '').trim() |
| | |
| | | message.warning('请至少选择一个点位') |
| | | return |
| | | } |
| | | if (vehicles.value.length === 0) { |
| | | message.warning('请至少选择一辆车辆') |
| | | return |
| | | } |
| | | |
| | | const res = await editCruisePlan({ |
| | | id: planId.value, |
| | | planName: name, |