Commit d7cbd2eb by 前端

commit

1 parent 14b0c506
......@@ -17,11 +17,6 @@ class Request {
},
method
}
params.req.corporateGroupName = '广汇'
const { reportParams } = window.vm.$store.state.app
if (reportParams) {
if (reportParams.brand) params.req.brandName = reportParams.brand.name
}
if (method === 'GET') {
var paramsArray = []
Object.keys(params.req).forEach(key => paramsArray.push('req.' + key + '=' + params.req[key]))
......
......@@ -32,6 +32,7 @@ Vue.prototype.to = function (name, params) {
Vue.config.productionTip = false
const isMock = ['prod','production'].includes(process.env.NODE_ENV)
console.log(isMock,'----------------')
fetchConfig(!isMock).then(res => {
console.log(res)
// 从配置服务器获取动态配置
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!