fix: 修复有时修改报告不能保存的问题

(cherry picked from commit ef3bdceff2)
This commit is contained in:
chenjinsong
2022-07-22 14:20:58 +08:00
committed by 陈劲松
parent f2b89b1e79
commit 5a53a9df78

View File

@@ -548,7 +548,7 @@ export default {
if (schedulerEnd) {
copyObject.schedulerEnd = schedulerEnd
}
if (this.editObject.categoryParams.length > 0) {
if (this.editObject.categoryParams && this.editObject.categoryParams.length > 0) {
copyObject.config.queryParam = this.editObject.categoryParams
} else {
copyObject.config.queryParam = []