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
7d44efc3
Commit
7d44efc3
authored
Dec 18, 2020
by
程卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除打印 更换本地开发接口
parent
48cac882
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
main.js
src/main.js
+1
-1
api.js
src/server/api.js
+2
-2
No files found.
src/main.js
View file @
7d44efc3
...
...
@@ -193,7 +193,7 @@ const render = ({appContent, loading} = {}) => { // 渲染方法
let
system
//= micSystemsList
let
env
=
process
.
env
.
NODE_ENV
console
.
log
(
process
.
env
.
NODE_ENV
,
'NODE_ENV'
)
//
console.log(process.env.NODE_ENV, 'NODE_ENV')
switch
(
env
)
{
// case env.indexOf('pudong') > -1: // 根据当前打包的项目调用该项目对应的路由
case
'pudong-sit'
:
...
...
src/server/api.js
View file @
7d44efc3
...
...
@@ -52,8 +52,8 @@ case 'huangpu-prod':
default
:
// 默认环境下(开发环境)
// BASE_URL = 'http://31.0.161.39/apiv2'
//
BASE_URL = 'http://211.136.105.193/apiv2'
BASE_URL
=
'http://pudong.hm.omniview.pro/api'
BASE_URL
=
'http://211.136.105.193/apiv2'
//
BASE_URL = 'http://pudong.hm.omniview.pro/api'
// MOCK_URL = 'https://yapi.omniview.pro/mock/278'
break
...
...
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