@@ -58,7 +58,7 @@ export default defineComponent({ | |||
const formItem = ref([]) | |||
if (props?.data?.id) { | |||
getLineOptions(props.data.droneId) | |||
if (props.data.status !== 1) { | |||
if ([1, 2].includes(props.data.status)) { | |||
formItem.value = [ | |||
{ type: 'input', key: 'droneName', label: '无人机' }, | |||
{ type: 'input', key: 'flyTime', label: '飞行时间' } |