scorpio 2 vuotta sitten
vanhempi
commit
fd474af2b8
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      src/page/login.vue

+ 2 - 1
src/page/login.vue

@@ -167,7 +167,8 @@ export default {
   created () {
     this.permission.cleanPermission()
     // fixme prod 环境暂时开启账号登录功能
-    this.dev = window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('https://dev.wutongshucloud.com/') > -1 || window.location.href.indexOf('192.168.31') > -1
+    // this.dev = window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('https://dev.wutongshucloud.com/') > -1 || window.location.href.indexOf('192.168.31') > -1
+    this.dev = window.location.href.indexOf('localhost') > -1 || window.location.href.indexOf('192.168.31') > -1
     removeToken()
     this.init()
   },