Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
super-hive-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
front-end
super-hive-web
Commits
284de5fb
Commit
284de5fb
authored
Aug 11, 2020
by
huangcb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.配置华为云接口地址;2.生产环境build取消mock配置
parent
b1fe5edc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
.env.production
.env.production
+1
-1
main.js
src/main.js
+4
-4
No files found.
.env.production
View file @
284de5fb
...
...
@@ -2,7 +2,7 @@
ENV = 'production'
# base api
VUE_APP_BASE_API = 'http://
esvsy.wicp.vip:8082
'
VUE_APP_BASE_API = 'http://
cloud.esvtek.com:8085/dataCenterApi
'
# VUE_APP_BASE_API = 'http://192.168.31.248:8080'
src/main.js
View file @
284de5fb
...
...
@@ -32,10 +32,10 @@ Vue.use(Element, {
})
Vue
.
use
(
VueClipboard
)
import
{
mockXHR
}
from
'
../mock
'
if
(
process
.
env
.
NODE_ENV
===
'
production
'
)
{
mockXHR
()
}
//
import { mockXHR } from '../mock'
//
if (process.env.NODE_ENV === 'production') {
//
mockXHR()
//
}
// 全局注册 v-permission 按键权限指令
Vue
.
directive
(
'
permission
'
,
permission
)
...
...
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