diff --git a/src/views/pages/autoexec/quick-service/catalog/service.vue b/src/views/pages/autoexec/quick-service/catalog/service.vue index d1b30e56173df6d75f9c0eaff4a7ddcee1480da9..fb4a51ada588a68622a500a4647e6744baebe5f5 100644 --- a/src/views/pages/autoexec/quick-service/catalog/service.vue +++ b/src/views/pages/autoexec/quick-service/catalog/service.vue @@ -1142,7 +1142,7 @@ export default { this.needRoundCount = needRoundCount; this.executeConfig = this.$utils.deepClone(executeConfig) || {}; const shouldUseCurrentValue = (obj) => { - return !this.$utils.isEmpty(obj) && (!this.$utils.isEmpty(obj['value']) || obj['mappingMode'] === 'notsetup' || !this.$utils.isEmpty(obj['mappingMode'])); // 处理值为空,还是以自动化存储的值为主 + return !this.$utils.isEmpty(obj) && !this.$utils.isEmpty(obj['value']) && (obj['mappingMode'] === 'notsetup' || !this.$utils.isEmpty(obj['mappingMode'])); // 处理值为空,还是以自动化存储的值为主 }; this.runnerGroup = shouldUseCurrentValue(this.runnerGroup) ? this.runnerGroup : runnerGroup; this.runnerGroupTag = shouldUseCurrentValue(this.runnerGroupTag) ? this.runnerGroupTag : runnerGroupTag;