Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mt-education-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王旭
mt-education-web
Commits
0b42e0e2
Commit
0b42e0e2
authored
Jul 02, 2019
by
WangXu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改接口信息
parent
8f6b53a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
request.js
src/utils/request.js
+2
-2
vue.config.js
vue.config.js
+4
-4
No files found.
src/utils/request.js
View file @
0b42e0e2
...
...
@@ -11,8 +11,8 @@ import {
// 创建 axios 实例
const
service
=
axios
.
create
({
baseURL
:
'http://106.2.13.200:8032'
,
// api base_url
//
baseURL: '/api/task/v1', // api base_url
//
baseURL: 'http://106.2.13.200:8032', // api base_url
baseURL
:
'/api/task/v1'
,
// api base_url
timeout
:
6000
// 请求超时时间
});
...
...
vue.config.js
View file @
0b42e0e2
...
...
@@ -22,12 +22,12 @@ module.exports = {
}
},
*/
// publicPath: process.env.NODE_ENV === 'production'
// ? '/zx-task-manager'
// : '/',
publicPath
:
process
.
env
.
NODE_ENV
===
'production'
?
'/'
?
'/
zx-task-manager
'
:
'/'
,
// publicPath: process.env.NODE_ENV === 'production'
// ? '/'
// : '/',
configureWebpack
:
{
module
:
{
rules
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment