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

updata

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