feat:完善地图上车船图标
This commit is contained in:
@@ -173,19 +173,23 @@
|
||||
router.push(item.path)
|
||||
} else {
|
||||
if (current.value === item.id) return
|
||||
otherLeftLabel.value = '其他酒店'
|
||||
otherRightLabel.value = '其他场馆'
|
||||
current.value = item.id
|
||||
switch (router.currentRoute.value.path) {
|
||||
case '/scenic':
|
||||
title.value = item.name
|
||||
otherLeftLabel.value = '其他景区'
|
||||
otherRightLabel.value = ''
|
||||
pubSub.publish('scenicChange', item)
|
||||
break
|
||||
case '/monitor':
|
||||
title.value = item.name
|
||||
otherLeftLabel.value = '其他景区'
|
||||
otherRightLabel.value = ''
|
||||
pubSub.publish('monitorChange', item)
|
||||
break
|
||||
case '/hotel':
|
||||
otherLeftLabel.value = '其他酒店'
|
||||
otherRightLabel.value = '其他场馆'
|
||||
pubSub.publish('hotelChange', item)
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user