소스 검색

step 状态

xy 7 년 전
부모
커밋
4dee7bcbe5
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/app/common/deploy/tencent/TencentConfig.js

+ 2 - 2
src/app/common/deploy/tencent/TencentConfig.js

@@ -293,9 +293,9 @@ class TencentConfig extends Component {
     };
 
     stepStatus = (value) => {
-        if (this.state.currentStep === value)
+        if (this.state.reachStep === value)
             return '进行中';
-        else if (this.state.currentStep > value)
+        else if (this.state.reachStep > value)
             return '完成';
         else
             return '等待';