Commit 7e0ad458 by 张立顺

修复 const 改值问题

1 parent b232a222
......@@ -66,7 +66,7 @@ process.env.NODE_ENV === 'production' &&
// We recommend adjusting this value in production
tracesSampleRate: 1.0
})
const baseConfig = {
let baseConfig = {
sysName: '嘀加支付宝h5系统',
hasReg: false,
hasAuth: false,
......@@ -105,7 +105,9 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c
console.log(response)
const { code, data } = response
if (code == '200') {
console.log(data)
baseConfig = data
console.log('baseConfig', baseConfig)
window.$fetchConfig = data
} else {
baseConfig = response
......
// const pages = {
// coupon: [{
// name: 'index',
// meta: {
// isTab: true
// }
// },
// {
// name: 'verificationList',
// meta: {
// title: '核销列表',
// keepAlive: true
// }
// },
// {
// name: 'verificationDetail',
// meta: {
// title: '核销详情',
// keepAlive: true
// }
// },
// {
// name: 'goodsVerification',
// meta: {
// title: '核销订单',
// keepAlive: true
// }
// }
// ],
// activity: [
// {
// name: 'index',
// meta: {
// isTab: true,
// keepAlive: true,
// backgroundColor: '#F7F7F7'
// },
// }
// ],
// merchant: [
// {
// name: 'index',
// meta: {
// keepAlive: true,
// isIndex: true,
// backgroundColor: '#F7F7F7',
// title: '店铺中心'
// }
// }
// ],
// gift:[
// {
// name:'index',
// meta: {
// title:'定向礼包',
// backgroundColor: '#F7F7F7'
// }
// },
// {
// name:'detail',
// meta: {
// title:'定向礼包',
// backgroundColor: '#F7F7F7'
// }
// },
// {
// name:'create',
// meta: {
// title:'定向礼包',
// backgroundColor: '#F7F7F7'
// }
// }
// ]
// }
const routes = [
// {
// path:'/',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!