diff --git a/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue b/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue index 7b51ae92..fba02e5b 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue @@ -128,7 +128,15 @@ export default{ this.removeRecent(item); if(this.$route.path == item.path){ if(this.recentPages.length){ - this.$router.push(this.recentPages[this.recentPages.length-1].path) + let route = this.recentPages[this.recentPages.length-1] + if (Object.keys(route.query).length > 0){ + this.$router.push({ + path: route.path, + query: route.query + }); + } else { + this.$router.push(route.path); + } }else{ this.$router.push("/") } diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue index 3c3265af..891d377f 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue @@ -28,7 +28,7 @@