Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 0fe5ce95
authored
Jul 10, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改菜单结构,修改路由跳转为相对路径,便于后期路由扩展与变动,解决404问题,删除部分废弃文件等
1 parent
2340f0c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
linkwe-mobile/vue.config.js
linkwe-mobile/vue.config.js
View file @
0fe5ce9
...
...
@@ -13,7 +13,7 @@ process.env.VUE_APP_TITLE = require('./package.json').description
// 如果您的应用程序部署在子路径中,则需要在这指定子路径
// 例如:https://www.my-app.com/my-app/
// 需要将它改为'/my-app/'
const
BASE_URL
=
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/mobile'
const
BASE_URL
=
process
.
env
.
NODE_ENV
===
'development'
?
'/'
:
'/mobile
/
'
module
.
exports
=
{
publicPath
:
BASE_URL
,
...
...
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