| | |
| | | total: -1, |
| | | page_size: 10 |
| | | } |
| | | const waylinesData = reactive({ |
| | | data: [] |
| | | }) |
| | | const routeLine = ref([]) |
| | | const workspaceId = computed(() => store.state.common.projectId || localStorage.getItem(ELocalStorageKey.WorkspaceId)) |
| | | const canRefresh = ref(true) |
| | | const height = ref() |
| | | const { removeById, addPolyline, getEntityById, flyTo } = cesiumOperation() |
| | | const { removeById, addPolyline, getEntityById, flyTo, removeAllPoint } = cesiumOperation() |
| | | |
| | | onMounted(() => { |
| | | const parent = document.getElementsByClassName('scrollbar').item(0)?.parentNode as HTMLDivElement |
| | |
| | | getHistoryWay() |
| | | } |
| | | } |
| | | onUnmounted(() => { |
| | | // removeById('drone_route_history') |
| | | removeAllPoint() |
| | | }) |
| | | |
| | | </script> |
| | | |