This commit is contained in:
parent
c866001f26
commit
4bba5cf288
|
|
@ -39,6 +39,7 @@ const loginApi = async () => {
|
||||||
console.log('🚀 ~ loginApi ~ res:', res)
|
console.log('🚀 ~ loginApi ~ res:', res)
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.log('🚀 ~ loginApi ~ error:', error)
|
console.log('🚀 ~ loginApi ~ error:', error)
|
||||||
|
getMapDataList()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 获取地图数据
|
// 获取地图数据
|
||||||
|
|
@ -299,7 +300,6 @@ const handleTag = (tag: number) => {
|
||||||
|
|
||||||
onMounted(async () => {
|
onMounted(async () => {
|
||||||
loginApi()
|
loginApi()
|
||||||
getMapDataList()
|
|
||||||
if (!tokenNew) {
|
if (!tokenNew) {
|
||||||
const origin = window.location.href
|
const origin = window.location.href
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue