fix: 提交缺陷后隐藏输入框

This commit is contained in:
shiziyuan9527 2020-08-24 16:48:02 +08:00
parent 88b1cfd71a
commit f1846943be
1 changed files with 4 additions and 1 deletions

View File

@ -497,7 +497,10 @@
this.result = this.$post("/issues/add", param, () => { this.result = this.$post("/issues/add", param, () => {
this.$success(this.$t('commons.save_success')); this.$success(this.$t('commons.save_success'));
this.getIssues(param.testCaseId); this.getIssues(param.testCaseId);
}) });
this.issuesSwitch = false;
this.testCase.issues.title = "";
this.testCase.issues.content = "";
}, },
getIssues(caseId) { getIssues(caseId) {
this.result = this.$get("/issues/get/" + caseId, response => { this.result = this.$get("/issues/get/" + caseId, response => {