提交 21062917 authored 作者: lihuihui's avatar lihuihui

updata

上级 bd017e72
module.exports = {
demain: 'dev.ezijing.com',
url: 'https://transport.ezijing.com/api',
url: 'https://transport2.ezijing.com/api',
// apiBaseURL: 'https://zy2.ezijing.com/',
webpack: {
externals: {
......@@ -13,18 +13,18 @@ module.exports = {
},
devServer: {
proxy: {
'/api/passport': {
target: 'https://passport.ezijing.com',
pathRewrite: {
'^/api/passport': '/' // 需要rewrite重写的
}
},
'/usercenter': {
target: 'https://api-usercenter.ezijing.com',
pathRewrite: {
'^/usercenter': '/' // 需要rewrite重写的
}
}
// '/api/passport': {
// target: 'https://passport.ezijing.com',
// pathRewrite: {
// '^/api/passport': '/' // 需要rewrite重写的
// }
// },
// '/usercenter': {
// target: 'https://api-usercenter.ezijing.com',
// pathRewrite: {
// '^/usercenter': '/' // 需要rewrite重写的
// }
// }
/* 多个代理 */
// '/api': {
// target: $GLOBAL.webConf.url,
......
......@@ -492,7 +492,6 @@ export default {
bottomView.style.height = (clientHeight - topViewH) + 'px'
},
initData(n) {
Toast(this.$route.fullPath)
const param = this.requestParam
if (window.localStorage.userId !== 'undefined') {
param.user_id = window.localStorage.userId
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论