فهرست منبع

Merge branch 'dev_pipeline' into dev

Jinyao 5 سال پیش
والد
کامیت
8a15b36e9a
1فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 5 0
      src/views/Project/Pipeline.vue

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

@@ -135,6 +135,8 @@
           <ElStep
           <ElStep
             v-for="(config, index) in pipelineConfig"
             v-for="(config, index) in pipelineConfig"
             :key="index"
             :key="index"
+            class="step"
+            @click="() => activeStep = index"
           >
           >
           <template #title>
           <template #title>
             <span>{{getStage(config.name).title}}</span>
             <span>{{getStage(config.name).title}}</span>
@@ -453,4 +455,7 @@ export default {
 .button-group {
 .button-group {
   margin-left: 40px;
   margin-left: 40px;
 }
 }
+.step {
+  cursor: pointer;
+}
 </style>
 </style>