test
This commit is contained in:
@@ -63,13 +63,13 @@ Vue.use(selectscroll);
|
|||||||
* you want to use MockJs for mock api
|
* you want to use MockJs for mock api
|
||||||
* you can execute: mockXHR()
|
* you can execute: mockXHR()
|
||||||
*
|
*
|
||||||
* Currently MockJs will be used in the production environment,
|
* Currently MockJs will be used in the development environment only,
|
||||||
* please remove it before going online ! ! !
|
* it's disabled in production
|
||||||
*/
|
*/
|
||||||
if (process.env.NODE_ENV === 'production') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
const {
|
const {
|
||||||
mockXHR
|
mockXHR
|
||||||
} = require('../mock')
|
} = require('../../mock')
|
||||||
mockXHR()
|
mockXHR()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user