fix: 修复实体列表左侧筛选数字显示错误问题、修复报告编辑回显问题

This commit is contained in:
chenjinsong
2022-06-17 14:23:02 +08:00
parent 0377e887b7
commit a886151259
2 changed files with 11 additions and 6 deletions

View File

@@ -316,14 +316,20 @@ export default {
watch: {
scheduleType (n, o) {
this.editObject.config.schedulerConfig.type = n
this.cleanScheduleConfig()
if (!this.editObject.id) {
this.cleanScheduleConfig()
}
},
scheduleChecked (n) {
this.editObject.config.isScheduler = n ? 1 : 0
this.cleanScheduleConfig()
if (!this.editObject.id) {
this.cleanScheduleConfig()
}
},
monthScheduleType (n) {
this.cleanScheduleConfig()
if (!this.editObject.id) {
this.cleanScheduleConfig()
}
},
'editObject.config.schedulerConfig.interval': {
handler (n) {
@@ -476,7 +482,6 @@ export default {
}
copyObject.config = JSON.stringify(copyObject.config)
if (copyObject.id) {
put(this.url, copyObject).then(res => {
this.blockOperation.save = false