scorpio 3 anos atrás
pai
commit
6a365f50f3
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/page/login.vue

+ 2 - 1
src/page/login.vue

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