Browse Source

修正更名deviceList.vue后跳转错误

pull/74/head
lawrencehj 4 years ago
parent
commit
88dd1aca45
  1. 4
      web_src/src/components/channelList.vue
  2. 4
      web_src/src/components/devicePosition.vue

4
web_src/src/components/channelList.vue

@ -99,7 +99,7 @@ export default {
currentPage: parseInt(this.$route.params.page), currentPage: parseInt(this.$route.params.page),
count: parseInt(this.$route.params.count), count: parseInt(this.$route.params.count),
total: 0, total: 0,
beforeUrl: "/videoList", beforeUrl: "/deviceList",
isLoging: false, isLoging: false,
autoList: true autoList: true
}; };
@ -131,7 +131,7 @@ export default {
this.currentPage = parseInt(this.$route.params.page); this.currentPage = parseInt(this.$route.params.page);
this.count = parseInt(this.$route.params.count); this.count = parseInt(this.$route.params.count);
if (this.parentChannelId == "" || this.parentChannelId == 0) { if (this.parentChannelId == "" || this.parentChannelId == 0) {
this.beforeUrl = "/videoList" this.beforeUrl = "/deviceList"
} }
}, },

4
web_src/src/components/devicePosition.vue

@ -81,7 +81,7 @@ export default {
parentChannelId: this.$route.params.parentChannelId, parentChannelId: this.$route.params.parentChannelId,
updateLooper: 0, // updateLooper: 0, //
total: 0, total: 0,
beforeUrl: "/videoList", beforeUrl: "/deviceList",
isLoging: false, isLoging: false,
autoList: false, autoList: false,
}; };
@ -111,7 +111,7 @@ export default {
// this.currentPage = parseInt(this.$route.params.page); // this.currentPage = parseInt(this.$route.params.page);
// this.count = parseInt(this.$route.params.count); // this.count = parseInt(this.$route.params.count);
// if (this.parentChannelId == "" || this.parentChannelId == 0) { // if (this.parentChannelId == "" || this.parentChannelId == 0) {
// this.beforeUrl = "/videoList"; // this.beforeUrl = "/deviceList";
// } // }
}, },
initBaiduMap() { initBaiduMap() {

Loading…
Cancel
Save