Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-sop
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5309bd48
authored
Mar 11, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
项目配置修改
1 parent
f17c6e10
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
16 deletions
project.config.json
src/config/env.development.js
src/router/router.js
src/views/test/index.vue
vue.config.js
project.config.json
0 → 100644
View file @
5309bd4
{
"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
src/config/env.development.js
View file @
5309bd4
...
...
@@ -11,7 +11,7 @@ module.exports = {
envVersion
:
"develop"
,
title
:
'嘀加企微管家'
,
request
:
{
baseURL
:
'http://
192.168.1.5:8083/scrm-wechat
'
,
// 本地测试项目地址,
baseURL
:
'http://
scrm.test.glsx.com.cn
'
,
// 本地测试项目地址,
// 设置超时时间
timeout
:
180000
,
// 携带凭证
...
...
@@ -38,4 +38,4 @@ module.exports = {
v
:
"1.0.0"
,
},
vconsole
:
true
}
\ No newline at end of file
}
src/router/router.js
View file @
5309bd4
...
...
@@ -37,7 +37,7 @@ router.beforeEach((to, from, next) => {
if
(
to
.
meta
.
title
)
{
store
.
dispatch
(
'setPageMeta'
,
to
.
meta
)
}
else
{
store
.
dispatch
(
'setPageMeta'
,
{
title
:
'
活动中心
'
})
store
.
dispatch
(
'setPageMeta'
,
{
title
:
'
营销SOP
'
})
}
store
.
commit
(
'SET_LAST_PATH'
,
to
.
name
)
/* 路由发生变化修改页面背景色 */
...
...
src/views/test/index.vue
View file @
5309bd4
...
...
@@ -4,19 +4,18 @@
</
template
>
<
script
type=
'text/ecmascript-6'
>
export
default
{
name
:
''
,
data
()
{
return
{
}
},
mounted
()
{
},
methods
:
{
export
default
{
name
:
''
,
data
()
{
return
{
}
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
</
style
>
vue.config.js
View file @
5309bd4
...
...
@@ -50,7 +50,7 @@ const spritesmithFunction = data => {
return
`
${
shared
}
\n
${
perSprite
}
`
}
module
.
exports
=
{
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-work-
main
/'
,
// 本地调试时需登录时使用
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-work-
cwq
/'
,
// 本地调试时需登录时使用
// publicPath: './',
// publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir
:
'dist'
,
// 生产环境构建文件的目录
...
...
@@ -219,4 +219,4 @@ module.exports = {
config
.
optimization
.
runtimeChunk
(
'single'
)
})
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment