Commit 9c251f64 by 杨北旺

12

1 parent 4a353af8
......@@ -59,9 +59,10 @@ const actions = {
dispatch('registerHttp')
state.showWindow = true
},
registerHttp({}, sessionId = '') {
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-0581fbbb-8e21-40ad-b7a8-1a3f6e3b8f55-rop' } })
registerHttp({}) {
const sessionId = getParams('sessionId')
window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: sessionId } })
// window.$HTTP = new Http({ ...window.$fetchConfig, alert: Notify, headers: { token: 'scrm-base-f9688caa-36ac-4795-8b91-d38e17c7ccc3-rop' } })
}
}
const getParams = name => {
......
......@@ -54,7 +54,6 @@ module.exports = {
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath: IS_PROD ? './' : '/h5/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-main-bw/', // 署应用包时的基本 URL。 vue-router history模式使用
// publicPath: './', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录
assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录
lintOnSave: !IS_PROD,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!