接口更改

This commit is contained in:
duanliang
2025-03-21 18:52:28 +08:00
parent 08041130e8
commit ecc97f2424
4 changed files with 32 additions and 6 deletions

View File

@@ -244,7 +244,7 @@
isBack.value = true
let res = await getSpotListApi()
navLeft.value = res.data
console.log(res.data,'22220000')
current.value = res.data[0].id
title.value = navLeft.value[current.value].name
pubSub.publish('scenicChange', navLeft.value[0])
@@ -281,10 +281,12 @@
navLeft.value = [
{
name: '奉节县',
scenicSpotId: ''
scenicSpotId: '',
id:10086,
},
...spotRes.data
]
current.value = navLeft.value[0].id
break
case '/sceneTesting':
title.value = '三峡之巅-安全检测'