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