Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5
Overview
Overview
Details
Activity
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
vanke
h5
Commits
07c0e9c2
Commit
07c0e9c2
authored
Jun 04, 2021
by
wangyalan-git
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://116.62.228.37:10022/vanke/h5
parents
0077e726
c5e7a680
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
index.js
src/router/index.js
+1
-1
request.js
src/utils/request.js
+2
-1
vue.config.js
vue.config.js
+2
-0
No files found.
src/router/index.js
View file @
07c0e9c2
...
...
@@ -48,7 +48,7 @@ const routes = [
const
router
=
new
VueRouter
({
mode
:
'history'
,
base
:
'
/
goodsManage'
,
base
:
'goodsManage'
,
routes
})
...
...
src/utils/request.js
View file @
07c0e9c2
...
...
@@ -8,7 +8,8 @@ const service = axios.create({
// baseURL: 'http://192.168.31.138:8201/mall-portal',
// baseURL: 'http://vankemanage.jsonpro.cn/mall-portal',
// baseURL: 'http://10.27.33.4:8201/mall-portal',
baseURL
:
'http://10.27.33.5:8201/mall-portal'
,
baseURL
:
'https://vv9.vanke.com:9443/mall-portal'
,
//注意 当前跨域问题 是同源策略解决。即前端地址 和服务端地址在同一域名下。 所以解决问题需要重这方面思考
timeout
:
60000
// 请求超时时间
})
...
...
vue.config.js
View file @
07c0e9c2
const
Timestamp
=
new
Date
().
getTime
()
module
.
exports
=
{
publicPath
:
'/goodsManage'
,
// webpack-dev-server 相关配置
configureWebpack
:
{
output
:
{
// 输出重构【模块名称.hash值.时间戳】
...
...
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