From 113313a0496f958860a156b4330960e0d12522a7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 04 六月 2020 17:53:59 +0800
Subject: [PATCH] 2020-06-04

---
 src/components/tabview/index.jsx |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/tabview/index.jsx b/src/components/tabview/index.jsx
index 25a6af6..587c42a 100644
--- a/src/components/tabview/index.jsx
+++ b/src/components/tabview/index.jsx
@@ -29,12 +29,12 @@
 const TabForm = asyncComponent(() => import('@/tabviews/tabform'))
 const FormTab = asyncComponent(() => import('@/tabviews/formtab'))
 
-let service = window.GLOB.service ? (/\/$/.test(window.GLOB.service) ? window.GLOB.service : window.GLOB.service + '/') : ''
+let service = ''
 
 if (process.env.NODE_ENV === 'production') {
-  service = document.location.origin + '/' + service + 'zh-CN/'
+  service = document.location.origin + '/' + window.GLOB.service + 'zh-CN/'
 } else {
-  service = 'http://qingqiumarket.cn/' + service + 'zh-CN/'
+  service = window.GLOB.location + window.GLOB.service + 'zh-CN/'
 }
 
 class Header extends Component {

--
Gitblit v1.8.0