dashboard
repositories
filestore
activity
search
login
drone
/
drone-web
无人机操作系统
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
update: 新建航线、事件编辑、kmz文件问题修改
GuLiMmo
2024-03-19
aec00ecc093be803860c8675cbe1c4c776a7cb4e
[drone/drone-web.git]
/
src
/
utils
/
geo-utils.ts
1
2
3
4
5
6
7
8
9
10
11
import axios from 'axios'
export function parseJsonFile (url: string) {
return new Promise((resolve, reject) => {
axios.get(url)
.then(function (response) {
console.log(response.data)
resolve(response.data)
})
})
}