Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wbx-PCAndMobi
mobi
Commits
bcf2188c
Commit
bcf2188c
authored
Jun 25, 2021
by
levante
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
593f52d7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.js
config/index.js
+1
-1
index.js
src/router/index.js
+1
-1
No files found.
config/index.js
View file @
bcf2188c
...
...
@@ -65,7 +65,7 @@ module.exports = {
// Paths
assetsRoot
:
path
.
resolve
(
__dirname
,
'../dist'
),
assetsSubDirectory
:
'static'
,
assetsPublicPath
:
'/'
,
// 设置生产地址,否则生产环境下在子项目刷新页面会空白
assetsPublicPath
:
'
.
/'
,
// 设置生产地址,否则生产环境下在子项目刷新页面会空白
/**
* Source Maps
...
...
src/router/index.js
View file @
bcf2188c
...
...
@@ -8,7 +8,7 @@ Vue.use(Router)
const
router
=
new
Router
({
mode
:
'history'
,
// base: process.env.NODE_ENV === 'development' ? '/' : '/portal
/',
base
:
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/h5
/'
,
routes
,
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment