Переглянути джерело

操作记录 加载顺序

Reiskuchen 5 роки тому
батько
коміт
90cac2b347
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      ys_vue/src/views/mold/moldDetail.vue

+ 2 - 2
ys_vue/src/views/mold/moldDetail.vue

@@ -686,11 +686,11 @@
             },
 
             toAnotherMould(id){
-                var currentRoute = this.$route.path.split("/");
+                var currentRoute = this.$route.path.split("/");                
+                this.$router.push('/mould/' + id);
                 if (currentRoute.length == 3 && currentRoute[1] == "moldList") {
                     this.$router.go(0);
                 }
-                this.$router.push('/mould/' + id);
             },
 
             //标签页面切换时