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

This commit is contained in:
chenjinsong
2022-07-22 14:20:58 +08:00
parent b8b7fdcc83
commit ef3bdceff2

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 = []