Commit 284de5fb authored by huangcb's avatar huangcb

1.配置华为云接口地址;2.生产环境build取消mock配置

parent b1fe5edc
......@@ -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'
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment