Przeglądaj źródła

fix: 修复流水线设置长度判断逻辑

Jinyao 5 lat temu
rodzic
commit
e3a9b96b01
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/Project/Pipeline.vue

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

@@ -384,7 +384,7 @@ export default {
   },
   computed: {
     isLastStep() {
-      return this.activeStep === this.stages.length - 1;
+      return this.activeStep === this.pipelineConfig.length - 1;
     },
     stageConfigsBase() {
       return this.stages.map((stage) => ({