Explorar el Código

Update loganInfo.tsx

lex hace 1 año
padre
commit
91163fec23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)