Commit dcbba8b1 authored by “yiyousong”'s avatar “yiyousong”

fix: 修复切换站点时,当前站点没有报表的情况下路由还停留在之前

parent a13df414
......@@ -188,6 +188,10 @@ export default {
} else {
this.censusList = [];
this.active = "CensusType_1";
if (this.$route.path != "/home/dataManagement") {
console.log(1);
this.$router.push("/home/dataManagement");
}
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment