From df121d7181bbd0b870a72545ed527fac6dd694e3 Mon Sep 17 00:00:00 2001 From: wulin Date: Tue, 8 Sep 2020 16:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89vconsole?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 9ae19c5..8f275c5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -11,8 +11,8 @@ import { isURL } from '@/utils/validate' import {clearLoginInfo} from '@/utils' import VConsole from 'vconsole' -let vConsole = new VConsole() -Vue.use(Router) +//let vConsole = new VConsole() +//Vue.use(Router) // 开发环境不使用懒加载, 因为懒加载页面太多的话会造成webpack热更新太慢, 所以只有生产环境使用懒加载 const _import = require('./import-' + process.env.NODE_ENV)