lex 1 year ago
parent
commit
bbf1087d84
1 changed files with 5 additions and 4 deletions
  1. 5 4
      src/teacher/cash-protocol/index.tsx

+ 5 - 4
src/teacher/cash-protocol/index.tsx

@@ -21,15 +21,16 @@ export default defineComponent({
   },
   async mounted() {
     try {
+      const { data } = await request.get(
+          '/api-teacher/sysUserContractRecord/checkContractSignV2?contractType=WITHDRAW'
+        )
+        this.signStatus = data
       // 先实名认证
       const user = state.user.data
       if (!user.realName || !user.idCardNo) {
         this.realStatus = false
       } else {
-        const { data } = await request.get(
-          '/api-teacher/sysUserContractRecord/checkContractSignV2?contractType=WITHDRAW'
-        )
-        this.signStatus = data
+
         this.getDetail()
       }
     } catch {