Commit 5309bd48 by chenwq

项目配置修改

1 parent f17c6e10
{
"description": "项目配置文件",
"packOptions": {
"ignore": []
},
"setting": {
"bundle": false,
"userConfirmedBundleSwitch": false,
"urlCheck": true,
"scopeDataCheck": false,
"coverView": true,
"es6": true,
"postcss": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false,
"minified": true,
"autoAudits": false,
"newFeature": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"useIsolateContext": true,
"nodeModules": false,
"enhance": true,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"showShadowRootInWxmlPanel": true,
"packNpmManually": false,
"enableEngineNative": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"showES6CompileOption": false,
"minifyWXML": true
},
"compileType": "miniprogram",
"libVersion": "2.21.3",
"appid": "wx3d683687ae183330",
"projectname": "miniprogram-1",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
}
}
\ No newline at end of file \ No newline at end of file
...@@ -11,7 +11,7 @@ module.exports = { ...@@ -11,7 +11,7 @@ module.exports = {
envVersion: "develop", envVersion: "develop",
title: '嘀加企微管家', title: '嘀加企微管家',
request: { request: {
baseURL: 'http://192.168.1.5:8083/scrm-wechat', // 本地测试项目地址, baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间 // 设置超时时间
timeout: 180000, timeout: 180000,
// 携带凭证 // 携带凭证
...@@ -38,4 +38,4 @@ module.exports = { ...@@ -38,4 +38,4 @@ module.exports = {
v: "1.0.0", v: "1.0.0",
}, },
vconsole: true vconsole: true
}
\ No newline at end of file \ No newline at end of file
}
...@@ -37,7 +37,7 @@ router.beforeEach((to, from, next) => { ...@@ -37,7 +37,7 @@ router.beforeEach((to, from, next) => {
if (to.meta.title) { if (to.meta.title) {
store.dispatch('setPageMeta', to.meta) store.dispatch('setPageMeta', to.meta)
} else { } else {
store.dispatch('setPageMeta', { title: '活动中心' }) store.dispatch('setPageMeta', { title: '营销SOP' })
} }
store.commit('SET_LAST_PATH', to.name) store.commit('SET_LAST_PATH', to.name)
/* 路由发生变化修改页面背景色 */ /* 路由发生变化修改页面背景色 */
......
...@@ -4,19 +4,18 @@ ...@@ -4,19 +4,18 @@
</template> </template>
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
export default { export default {
name: '', name: '',
data () { data() {
return { return {
}
},
mounted () {
},
methods: {
} }
},
mounted() {
},
methods: {
} }
}
</script> </script>
<style scoped lang='scss'> <style scoped lang='scss'>
</style>
\ No newline at end of file \ No newline at end of file
</style>
...@@ -50,7 +50,7 @@ const spritesmithFunction = data => { ...@@ -50,7 +50,7 @@ const spritesmithFunction = data => {
return `${shared}\n${perSprite}` return `${shared}\n${perSprite}`
} }
module.exports = { module.exports = {
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 本地调试时需登录时使用 publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-cwq/', // 本地调试时需登录时使用
// publicPath: './', // publicPath: './',
// publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用 // publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录 outputDir: 'dist', // 生产环境构建文件的目录
...@@ -219,4 +219,4 @@ module.exports = { ...@@ -219,4 +219,4 @@ module.exports = {
config.optimization.runtimeChunk('single') config.optimization.runtimeChunk('single')
}) })
} }
}
\ No newline at end of file \ No newline at end of file
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!