liuyu %!s(int64=4) %!d(string=hai) anos
pai
achega
77717ccebf
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      src/layout/main-layout.vue

+ 5 - 1
src/layout/main-layout.vue

@@ -45,7 +45,11 @@ export default {
     toLogin() {
       let route = window.location.pathname;
       console.log(route);
-      if (route == '/liveadmin/login') {
+      if (route == '/login') {
+        return route.includes('login');
+      } else if (route == '/livecheck') {
+        return route.includes('livecheck');
+      } else if (route == '/liveadmin/login') {
         return route.includes('login');
       } else if (route == '/liveadmin/livecheck') {
         return route.includes('livecheck');