|
@@ -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)
|
|
|
}
|