Sfoglia il codice sorgente

fix: 提交遗漏的active字段

Jinyao 5 anni fa
parent
commit
44edbe4c20
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/views/Project/Pipeline.vue

+ 1 - 0
src/views/Project/Pipeline.vue

@@ -483,6 +483,7 @@ export default {
       this.confirmLoading = true;
       this.confirmLoading = true;
       this.pipelineConfigTemplate.forEach((item) => {
       this.pipelineConfigTemplate.forEach((item) => {
         const target = this.pipelineConfig.find((i) => i.name === item.name);
         const target = this.pipelineConfig.find((i) => i.name === item.name);
+        item.active = target.active;
         Object.keys(item.configs).forEach((key) => {
         Object.keys(item.configs).forEach((key) => {
           item.configs[key] = target.configs[key];
           item.configs[key] = target.configs[key];
         });
         });