This commit is contained in:
2025-11-01 18:05:57 +08:00
parent d37218ec1b
commit 31fcedec7b

View File

@@ -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()
}