From 31fcedec7b714cc64ef24ca892da1fdbd6eb1e5d Mon Sep 17 00:00:00 2001 From: aipper Date: Sat, 1 Nov 2025 18:05:57 +0800 Subject: [PATCH] test --- src/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 8196ab8..289a044 100644 --- a/src/main.js +++ b/src/main.js @@ -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() }