scorpio 2 年之前
父節點
當前提交
fd474af2b8
共有 1 個文件被更改,包括 2 次插入1 次删除
  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()
   },