From caf46c379f8e634726a22f5e7a61164ec17a6a65 Mon Sep 17 00:00:00 2001 From: liwei <liwei@singsingenglish.com> Date: Tue, 2 Jul 2019 11:15:21 +0800 Subject: [PATCH] liwei --- src/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index f44737d9..078d6882 100644 --- a/src/main.js +++ b/src/main.js @@ -40,9 +40,9 @@ Vue.component('scroll', scroll); // Vue.prototype.$throw = (error)=> errorHandler(error,this); /* eslint-disable no-new */ -// if(process.env.NODE_ENV != 'production'){ -// new VConsole(); -// } +if (process.env.NODE_ENV != 'production') { + new VConsole(); +} router.beforeEach((to, from, next) => { next() -- 2.21.0