代码优化

This commit is contained in:
BianLzhaoMin 2024-09-19 15:55:02 +08:00
parent 9ec44744da
commit 0511da6b4e
1 changed files with 2 additions and 2 deletions

View File

@ -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 {