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

Loading…
Cancel
Save