guhongwei 5 năm trước cách đây
mục cha
commit
59c4198e61
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/views/login.vue

+ 1 - 1
src/views/login.vue

@@ -42,7 +42,7 @@ export default {
       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';
+        if (res.role == 1 || res.role == 4 || res.role == 3) window.location.href = 'http://free.liaoningdoupo.com/platadmin';
         else window.location.href = 'http://free.liaoningdoupo.com/platlive/home.html';
       }
     },