forked from github/dataease
fix: 保留mock但不在线上使用
This commit is contained in:
parent
113d04b5a1
commit
a0d718c5de
@ -41,9 +41,18 @@ Vue.use(vcolorpicker)
|
||||
import fullscreen from 'vue-fullscreen'
|
||||
Vue.use(fullscreen)
|
||||
|
||||
// if (process.env.NODE_ENV === 'production') {
|
||||
|
||||
// }
|
||||
/**
|
||||
* If you don't want to use mock-server
|
||||
* you want to use MockJs for mock api
|
||||
* you can execute: mockXHR()
|
||||
*
|
||||
* Currently MockJs will be used in the production environment,
|
||||
* please remove it before going online ! ! !
|
||||
*/
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
// const { mockXHR } = require('../mock')
|
||||
// mockXHR()
|
||||
}
|
||||
|
||||
// set ElementUI lang to EN
|
||||
// Vue.use(ElementUI, { locale })
|
||||
|
Loading…
Reference in New Issue
Block a user