许静 5 vuotta sitten
vanhempi
commit
128bb33c37
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4
    3
      src/pages/person/profile/index.js

+ 4
- 3
src/pages/person/profile/index.js Näytä tiedosto

@@ -120,6 +120,9 @@ export default class Profile extends Component {
120 120
         <View className="tip">
121 121
           审核通过后将获取更多积分、兑换好礼~
122 122
         </View>
123
+        {this.state.auditStatus == 1 &&
124
+          <View className="commit-text" >审核通过,快去查看积分吧~</View>
125
+        }
123 126
 
124 127
         <AtImagePicker
125 128
           showAddBtn={(this.state.files.length < 8 && this.state.auditStatus == 2) || (this.state.auditStatus == 3 && this.state.files.length < 8)}
@@ -133,9 +136,7 @@ export default class Profile extends Component {
133 136
         {this.state.auditStatus == 2 &&
134 137
           <View className="commit-text" >审核未通过,请重新提交!</View>
135 138
         }
136
-        {this.state.auditStatus == 1 &&
137
-          <View className="commit-text" >审核通过,快去查看积分吧~</View>
138
-        }
139
+        
139 140
         {(this.state.auditStatus == 2 || this.state.auditStatus == 3) &&
140 141
           <View className="commit-btn" onClick={this.commitBtn}>提交审核</View>
141 142
         }