scorpio %!s(int64=3) %!d(string=hai) anos
pai
achega
8252e1f772
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/page/login.vue

+ 1 - 1
src/page/login.vue

@@ -165,7 +165,7 @@ export default {
   },
   created () {
     this.permission.cleanPermission()
-    this.dev = window.location.href.toString().indexOf('dev') > -1
+    this.dev = window.location.href.toString().indexOf('dev') > -1 || window.location.href.toString().indexOf('localhost')
     console.log(window.location.href.toString())
     removeToken()
     this.init()