浏览代码

Merge remote-tracking branch 'origin/master'

sunyadv 5 年之前
父节点
当前提交
68cd522625
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ys_vue/src/views/mold/moldDetail.vue

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

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