From e023c779b43846d28f07fa2cf01a4df692d81f12 Mon Sep 17 00:00:00 2001 From: jiangweiguo <1578967617@qq.com> Date: Fri, 19 Apr 2024 15:24:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89log=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.js | 6 +++--- src/views/login/index.vue | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main.js b/src/main.js index 72f9e90..8486789 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) { +/* 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 diff --git a/src/views/login/index.vue b/src/views/login/index.vue index f6c5e69..e6effea 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -8,6 +8,7 @@