Explorar o código

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

Jinyao %!s(int64=5) %!d(string=hai) anos
pai
achega
e3a9b96b01
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) => ({