test
This commit is contained in:
@@ -63,13 +63,13 @@ Vue.use(selectscroll);
|
||||
* 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 ! ! !
|
||||
* Currently MockJs will be used in the development environment only,
|
||||
* it's disabled in production
|
||||
*/
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
const {
|
||||
mockXHR
|
||||
} = require('../mock')
|
||||
} = require('../../mock')
|
||||
mockXHR()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user