fix: 修复endpoint编辑侧滑标题错误的问题等

1.修复endpoint编辑侧滑标题错误的问题
2.统一pop的圆角
This commit is contained in:
陈劲松
2020-03-02 20:23:27 +08:00
parent 32439cd031
commit 58b60178f2
4 changed files with 12 additions and 11 deletions

View File

@@ -215,8 +215,14 @@
this.rightBox.show = show;
},
toEdit(show) {
toEdit(show, id) {
this.rightBox.isEdit = show;
this.rightBox.show = true;
if (show) {
this.rightBox.title = this.$t("project.endpoint.editEndpoint") + " ID" + id;
} else {
this.rightBox.title = this.$t("project.endpoint.endpoint") + " ID" + id;
}
},
//endpoint弹框中asset子弹框控制
@@ -415,13 +421,6 @@
setTimeout(()=>{this.getModuleList(this.currentProject.id);}, 100);
},
watch: {
endpoint(n, o) {
if (n && n.id) {
this.rightBox.title = this.$t("project.endpoint.editEndpoint") + " ID" + n.id;
} else {
this.rightBox.title = this.$t("project.endpoint.createEndpoint");
}
},
projectListReloadWatch(n, o) {
this.getProjectList();
},