Commit 07c0e9c2 by wangyalan-git

Merge branch 'master' of ssh://116.62.228.37:10022/vanke/h5

parents 0077e726 c5e7a680
...@@ -48,7 +48,7 @@ const routes = [ ...@@ -48,7 +48,7 @@ const routes = [
const router = new VueRouter({ const router = new VueRouter({
mode: 'history', mode: 'history',
base: '/goodsManage', base: 'goodsManage',
routes routes
}) })
......
...@@ -8,7 +8,8 @@ const service = axios.create({ ...@@ -8,7 +8,8 @@ const service = axios.create({
// baseURL: 'http://192.168.31.138:8201/mall-portal', // baseURL: 'http://192.168.31.138:8201/mall-portal',
// baseURL: 'http://vankemanage.jsonpro.cn/mall-portal', // baseURL: 'http://vankemanage.jsonpro.cn/mall-portal',
// baseURL: 'http://10.27.33.4:8201/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 // 请求超时时间 timeout: 60000 // 请求超时时间
}) })
......
const Timestamp = new Date().getTime() const Timestamp = new Date().getTime()
module.exports = { module.exports = {
publicPath: '/goodsManage',
// webpack-dev-server 相关配置
configureWebpack: { configureWebpack: {
output: { output: {
// 输出重构【模块名称.hash值.时间戳】 // 输出重构【模块名称.hash值.时间戳】
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment