瀏覽代碼

操作记录 加载顺序

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);
             },
 
             //标签页面切换时