فهرست منبع

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

Jinyao 5 سال پیش
والد
کامیت
e3a9b96b01
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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) => ({