Commit 88dd1aca45c5d2c0fca78a60844112ee53eccbfa
1 parent
edb033cc
修正更名deviceList.vue后跳转错误
Showing
2 changed files
with
4 additions
and
4 deletions
web_src/src/components/channelList.vue
| @@ -99,7 +99,7 @@ export default { | @@ -99,7 +99,7 @@ export default { | ||
| 99 | currentPage: parseInt(this.$route.params.page), | 99 | currentPage: parseInt(this.$route.params.page), |
| 100 | count: parseInt(this.$route.params.count), | 100 | count: parseInt(this.$route.params.count), |
| 101 | total: 0, | 101 | total: 0, |
| 102 | - beforeUrl: "/videoList", | 102 | + beforeUrl: "/deviceList", |
| 103 | isLoging: false, | 103 | isLoging: false, |
| 104 | autoList: true | 104 | autoList: true |
| 105 | }; | 105 | }; |
| @@ -131,7 +131,7 @@ export default { | @@ -131,7 +131,7 @@ export default { | ||
| 131 | this.currentPage = parseInt(this.$route.params.page); | 131 | this.currentPage = parseInt(this.$route.params.page); |
| 132 | this.count = parseInt(this.$route.params.count); | 132 | this.count = parseInt(this.$route.params.count); |
| 133 | if (this.parentChannelId == "" || this.parentChannelId == 0) { | 133 | if (this.parentChannelId == "" || this.parentChannelId == 0) { |
| 134 | - this.beforeUrl = "/videoList" | 134 | + this.beforeUrl = "/deviceList" |
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | }, | 137 | }, |
web_src/src/components/devicePosition.vue
| @@ -81,7 +81,7 @@ export default { | @@ -81,7 +81,7 @@ export default { | ||
| 81 | parentChannelId: this.$route.params.parentChannelId, | 81 | parentChannelId: this.$route.params.parentChannelId, |
| 82 | updateLooper: 0, //数据刷新轮训标志 | 82 | updateLooper: 0, //数据刷新轮训标志 |
| 83 | total: 0, | 83 | total: 0, |
| 84 | - beforeUrl: "/videoList", | 84 | + beforeUrl: "/deviceList", |
| 85 | isLoging: false, | 85 | isLoging: false, |
| 86 | autoList: false, | 86 | autoList: false, |
| 87 | }; | 87 | }; |
| @@ -111,7 +111,7 @@ export default { | @@ -111,7 +111,7 @@ export default { | ||
| 111 | // this.currentPage = parseInt(this.$route.params.page); | 111 | // this.currentPage = parseInt(this.$route.params.page); |
| 112 | // this.count = parseInt(this.$route.params.count); | 112 | // this.count = parseInt(this.$route.params.count); |
| 113 | // if (this.parentChannelId == "" || this.parentChannelId == 0) { | 113 | // if (this.parentChannelId == "" || this.parentChannelId == 0) { |
| 114 | - // this.beforeUrl = "/videoList"; | 114 | + // this.beforeUrl = "/deviceList"; |
| 115 | // } | 115 | // } |
| 116 | }, | 116 | }, |
| 117 | initBaiduMap() { | 117 | initBaiduMap() { |