Browse Source

Merge branch 'develop' of http://39.106.8.246:3003/web/persagy_topo_editer into develop

YaolongHan 4 years ago
parent
commit
b84604993c

+ 1 - 1
src/components/editview/leftToolBar.vue

@@ -196,6 +196,6 @@ li {
   top: 84px;
   // box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.1);
   width: 221px;
-  border-right: 1px solid transparent;
+  border-right: 1px solid #eee;
 }
 </style>

+ 2 - 1
src/components/homeView/createGraphDialog.vue

@@ -122,7 +122,7 @@ export default {
         if (res.result == "success") {
           this.outerVisible = false;
           this.$message.success('创建成功');
-          this.$router.push({
+          const routeUrl = this.$router.resolve({
             name: 'Editer',
             query: {
               graphId: res.entityList[0].graphId,
@@ -131,6 +131,7 @@ export default {
               isPub: 0
             }
           })
+          window.open(routeUrl.href, "_blank");
         } else {
           this.$message(res.message)
         }