接口更改
This commit is contained in:
@@ -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 = '三峡之巅-安全检测'
|
||||
|
||||
Reference in New Issue
Block a user