Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Fedex
/
imac-vue
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
jinhui.wang
2022-01-07 11:25:06 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
069f52abb25e0218ae0c085065c6494458d0c5f6
069f52ab
1 parent
f57bcbbb
接口修正
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
src/utils/zipdownload.js
vue.config.js
src/utils/zipdownload.js
View file @
069f52a
...
...
@@ -5,9 +5,9 @@ const mimeMap = {
xlsx
:
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
,
zip
:
'application/zip'
}
//
const baseUrl = 'https://imacuat.zmd.apac.fedex.com/IMAC2'
const
baseUrl
=
'https://imacuat.zmd.apac.fedex.com/IMAC2'
// const baseUrl = 'http://47.103.140.98:9002'
const
baseUrl
=
'http://192.168.1.134:18080'
//
const baseUrl = 'http://192.168.1.134:18080'
export
function
downLoadZip
(
str
,
filename
)
{
var
url
=
baseUrl
+
str
axios
({
...
...
vue.config.js
View file @
069f52a
...
...
@@ -35,10 +35,10 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
//
target: `https://imacuat.zmd.apac.fedex.com/IMAC2`,
target
:
`https://imacuat.zmd.apac.fedex.com/IMAC2`
,
// target: `http://192.168.1.45:8080`,
// target: `http://47.103.140.98:9002`,
target
:
`http://192.168.1.134:18080`
,
//
target: `http://192.168.1.134:18080`,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
Please
register
or
login
to post a comment