Explorar o código

操作记录 加载顺序

Reiskuchen %!s(int64=5) %!d(string=hai) anos
pai
achega
90cac2b347
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);
             },
 
             //标签页面切换时