feat:保存 编辑 新建module时 刷新拓扑图

This commit is contained in:
zhangyu
2020-09-03 14:31:21 +08:00
parent f77a003fe5
commit 6e79d1ece0
6 changed files with 79 additions and 59 deletions

View File

@@ -308,7 +308,6 @@
if (response.code === 200) {
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
this.esc(true);
this.$emit('visNetworkReload');
} else {
this.$message.error(response.msg);
}
@@ -329,7 +328,6 @@
this.$delete("endpoint?ids=" + this.editEndpoint.id).then(response => {
if (response.code === 200) {
this.$message({duration: 1000, type: 'success', message: this.$t("tip.deleteSuccess")});
this.$emit('visNetworkReload');
this.esc(true);
} else {
this.$message.error(response.msg);