src/views/index.vue
@@ -72,7 +72,15 @@ created() { this.getList(); }, watch: { $route(to, from) { window.location.reload(); //监测到路由发生跳转时刷新一次页面 // this.$router.go(0); }, }, methods: { @@ -358,6 +366,7 @@ .data-view { margin: 0 15px; height: 323px !important } #main {