| | |
| | | <SelectOutlined /> |
| | | </a-button> |
| | | </a-upload> |
| | | <a-button type="text" style="color: white" @click="addWaylineDialogShow = true"> |
| | | <a-button type="text" v-if="!isPointListOpen" style="color: white" @click="addWaylineDialogShow = true"> |
| | | <template #icon> |
| | | <PlusOutlined /> |
| | | </template> |
| | |
| | | createWayline(values).then((createRes: any) => { |
| | | if (createRes) { |
| | | store.commit('SET_WAYLINE_KMZPATH', '') |
| | | isPointListOpen.value = !isPointListOpen.value |
| | | isPointListOpen.value = true |
| | | closeAddWaylineDialog() |
| | | addWaylineDialogShow.value = false |
| | | } else { |
| | | message.error('创建航线失败,错误码:', createRes) |
| | | } |