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/views/printTemplate/fileupload/index.jsx |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/printTemplate/fileupload/index.jsx b/src/views/printTemplate/fileupload/index.jsx
index 682498f..d94c5cd 100644
--- a/src/views/printTemplate/fileupload/index.jsx
+++ b/src/views/printTemplate/fileupload/index.jsx
@@ -4,10 +4,9 @@
 import Api from '@/api'
 import './index.scss'
 
-let service = window.GLOB.service ? (/\/$/.test(window.GLOB.service) ? window.GLOB.service : window.GLOB.service + '/') : ''
 let Url = '/Upload'
 if (process.env.NODE_ENV === 'production') {
-  Url = document.location.origin + '/' + service + 'zh-CN/Home/Upload'
+  Url = document.location.origin + '/' + window.GLOB.service + 'zh-CN/Home/Upload'
 }
 
 class FileUpload extends Component {

--
Gitblit v1.8.0