fix(测试用例): 点击关联缺陷Tab控制台报异常

This commit is contained in:
shiziyuan9527 2021-06-21 11:03:55 +08:00 committed by 刘瑞斌
parent 09c78b0d14
commit f320c296cc
1 changed files with 4 additions and 1 deletions

View File

@ -97,7 +97,10 @@ export default {
}, },
methods: { methods: {
getIssues() { getIssues() {
this.page.result = getIssuesByCaseId(this.caseId, this.page); let result = getIssuesByCaseId(this.caseId, this.page);
if (result) {
this.page.result = result;
}
}, },
appIssue() { appIssue() {
if (!this.caseId) { if (!this.caseId) {