xhj 2 anos atrás
pai
commit
2027274e96
2 arquivos alterados com 6 adições e 1 exclusões
  1. 2 1
      .env.production
  2. 4 0
      src/App.vue

+ 2 - 1
.env.production

@@ -1,3 +1,4 @@
 NODE_ENV = production
 # 正式环境的ip端口
-VUE_APP_BASE_API = 'https://mall.zhiqiyun.com'
+# VUE_APP_BASE_API = 'https://mall.zhiqiyun.com'
+VUE_APP_BASE_API = ''

+ 4 - 0
src/App.vue

@@ -279,6 +279,10 @@ export default {
     }
   },
   created() {
+    // mall.kuaidanxia.com
+    if(window.document.domain.indexOf('mall.kuaidanxia.com')>-1){
+      window.document.title = '快单侠'
+    }
     var sid = this.getUrlParamValue('sid');
     sessionStorage.setItem('shiro.sesssion', sid)
     if (sid) {