From 04dade796017e4776539732130d3a985f73bbeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=A4=AB=E7=90=B3?= <5356169+zhaofulin@user.noreply.gitee.com> Date: Wed, 20 Mar 2024 10:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=A1=B5=E9=9D=A2vsconsole?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.js b/src/main.js index 72f9e90..dd4e2bd 100644 --- a/src/main.js +++ b/src/main.js @@ -3,7 +3,7 @@ import App from './App.vue' import router from './router' import store from './store' import Vant from 'vant' -import VConsole from "vconsole" +// import VConsole from "vconsole" import { setLocalStorage, compressFile } from '@/utils' import msgAlert, { handleForceCloseLoading } from './plugin/msgAlert' import pluginPermission from '@/plugin/permission' @@ -34,9 +34,9 @@ Vue.use(directive) Vue.prototype.$forceCloseLoading = handleForceCloseLoading Vue.use(pluginPermission) Vue.use(VueClipboard) -if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) { - new VConsole() -} +// if (window.location.href.indexOf('localhost') === -1 && window.location.href.indexOf('www.joineast.com') === -1) { +// new VConsole() +// } Vue.prototype.$EventBus = new Vue() // 注册全局EventBus Vue.prototype.$compressFile = compressFile