fix: 保存测试计划报错

This commit is contained in:
chenjianxing 2022-01-17 16:10:55 +08:00 committed by song-tianyang
parent aee832158c
commit 66da0cb795
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export default {
handleSave() { handleSave() {
let param = {}; let param = {};
this.buildParam(param); this.buildParam(param);
editPlanReport({id: this.planId, reportSummary: this.report.summary}, () => { editPlanReport({id: this.planId, reportSummary: this.report.summary ? this.report.summary : ''}, () => {
saveTestPlanReport(this.planId, () => { saveTestPlanReport(this.planId, () => {
this.$success(this.$t('commons.save_success')); this.$success(this.$t('commons.save_success'));
}); });