lrf402788946 il y a 5 ans
Parent
commit
5dd9921167
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/views/login.vue

+ 1 - 0
src/views/login.vue

@@ -40,6 +40,7 @@ export default {
     },
     async submitLogin(form) {
       const res = await this.toLogin({ user: form });
+      console.log(res);
       if (res.uid) {
         if (res.role == 1 || res.role == 4) window.location.href = 'http://free.liaoningdoupo.com/platadmin';
         else window.location.href = 'http://free.liaoningdoupo.com/platlive/home.html';