Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
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 7e0ad458
authored
Mar 17, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复 const 改值问题
1 parent
b232a222
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
75 deletions
src/main.js
src/router/routes.js
src/main.js
View file @
7e0ad45
...
@@ -66,7 +66,7 @@ process.env.NODE_ENV === 'production' &&
...
@@ -66,7 +66,7 @@ process.env.NODE_ENV === 'production' &&
// We recommend adjusting this value in production
// We recommend adjusting this value in production
tracesSampleRate
:
1.0
tracesSampleRate
:
1.0
})
})
cons
t
baseConfig
=
{
le
t
baseConfig
=
{
sysName
:
'嘀加支付宝h5系统'
,
sysName
:
'嘀加支付宝h5系统'
,
hasReg
:
false
,
hasReg
:
false
,
hasAuth
:
false
,
hasAuth
:
false
,
...
@@ -105,7 +105,9 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c
...
@@ -105,7 +105,9 @@ fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=dj-c
console
.
log
(
response
)
console
.
log
(
response
)
const
{
code
,
data
}
=
response
const
{
code
,
data
}
=
response
if
(
code
==
'200'
)
{
if
(
code
==
'200'
)
{
console
.
log
(
data
)
baseConfig
=
data
baseConfig
=
data
console
.
log
(
'baseConfig'
,
baseConfig
)
window
.
$fetchConfig
=
data
window
.
$fetchConfig
=
data
}
else
{
}
else
{
baseConfig
=
response
baseConfig
=
response
...
...
src/router/routes.js
View file @
7e0ad45
// 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
=
[
const
routes
=
[
// {
// {
// path:'/',
// path:'/',
...
...
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