|
@@ -13,12 +13,19 @@ function A7team() {
|
|
|
const res = await A4_APIcheck()
|
|
|
|
|
|
if (res.code === 0) {
|
|
|
- if (res.data) {
|
|
|
+ // 0:未认证 | 1:已认证 | 2:认证中
|
|
|
+
|
|
|
+ if (res.data === 1) {
|
|
|
setTitPop({
|
|
|
txt1: '您已完成认证',
|
|
|
txt2: '无需重复申请'
|
|
|
})
|
|
|
- } else {
|
|
|
+ } else if (res.data === 2) {
|
|
|
+ setTitPop({
|
|
|
+ txt1: '申请审核中',
|
|
|
+ txt2: '请勿重复申请'
|
|
|
+ })
|
|
|
+ } else if (res.data === 0) {
|
|
|
if (can) history.push(`/proof/${can}`)
|
|
|
else history.push(`/codeAuth`)
|
|
|
}
|