代码优化
This commit is contained in:
parent
9ec44744da
commit
0511da6b4e
|
|
@ -685,12 +685,12 @@ export default {
|
|||
this.mapEcharts.on('click', function (params) {
|
||||
if (params.data && params.data.a > 0) {
|
||||
_this.$router.push({
|
||||
path: '/home-new',
|
||||
path: '/bigScrap/home-new',
|
||||
query: { province: params.data.name, location: params.data.value },
|
||||
})
|
||||
} else if (params.region.count > 0) {
|
||||
_this.$router.push({
|
||||
path: '/home-new',
|
||||
path: '/bigScrap/home-new',
|
||||
query: { province: params.name, location: params.region.value },
|
||||
})
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue