perf: endpoint弹框样式调整及字段校验

1.endpoint弹框,校验未完成
2.module弹框bug修复
This commit is contained in:
chenjinsong
2019-12-31 19:02:58 +08:00
parent 65a2e31304
commit 2d0132e8c7
8 changed files with 317 additions and 298 deletions

View File

@@ -386,6 +386,14 @@
this.getProjectList();
this.getAssetList();
},
computed: {
projectListReloadWatch() {
return this.$store.state.projectListChange;
},
moduleListReloadWatch() {
return this.$store.state.moduleListChange;
},
},
mounted() {
setTimeout(()=>{this.getModuleList(this.currentProject.id);}, 100);
},
@@ -396,6 +404,12 @@
} else {
this.rightBox.title = this.$t("project.endpoint.createEndpoint");
}
},
projectListReloadWatch(n, o) {
this.getProjectList();
},
moduleListReloadWatch(n, o) {
this.getModuleList(this.currentProject.id);
}
}
}