scorpio 3 anni fa
parent
commit
ef642eb901
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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('localhost') > -1 || window.location.href.toString().indexOf('dev') > -1
+    this.dev = window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('https://dev.wutongshucloud.com/') > -1
     removeToken()
     this.init()
   },