Browse Source

Update loganInfo.tsx

lex 1 year ago
parent
commit
91163fec23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/col-header/modals/loganInfo.tsx

+ 1 - 1
src/components/col-header/modals/loganInfo.tsx

@@ -149,7 +149,7 @@ export default defineComponent({
       }).then(async () => {
         try {
           const url =
-            states.userType === 'TEACHER'
+            userType === 'TEACHER'
               ? '/api-website/teacher/queryUserInfo'
               : '/api-website/student/queryUserInfo'
           const { data } = await request.get(url)