@@ -9,7 +9,7 @@ | |||
"lint": "vue-cli-service lint", | |||
"deps": "yarn upgrade-interactive --latest", | |||
"dev": "vue-cli-service serve --mode development", | |||
"test": "vue-cli-service serve --mode test", | |||
"test": "vue-cli-service serve --mode testing", | |||
"pro": "vue-cli-service serve --mode production" | |||
}, | |||
"dependencies": { | |||
@@ -39,7 +39,7 @@ const isPc = () => { | |||
return flag; | |||
}; | |||
//如果不是生产环境并且不是pc设备那么就显示调试 | |||
if (process.env.NODE_ENV == 'test' && !isPc()) { | |||
if (process.env.NODE_ENV != 'production' && !isPc()) { | |||
// eslint-disable-next-line no-unused-vars | |||
const vConsole = new VConsole(); | |||
} | |||