Browse Source

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

lawrencehj 4 years ago
parent
commit
88dd1aca45

+ 2 - 2
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"
             }
 
         },

+ 2 - 2
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() {