Browse Source

change time disable

tags/v1.0.0^2
zhangtao 2 years ago
parent
commit
1185d01fce
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/task-manage/all-task/components/TaskModal.vue

+ 1
- 1
src/views/task-manage/all-task/components/TaskModal.vue View File

@@ -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: '飞行时间' }

Loading…
Cancel
Save