From 7387842ac78519a84752b4473ad3353cc3bc16e3 Mon Sep 17 00:00:00 2001
From: dqjdda <201507802@qq.com>
Date: Tue, 26 Nov 2019 13:59:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=BC=82=E5=B8=B8=E8=AF=A6?=
=?UTF-8?q?=E6=83=85=E5=8A=A0=E5=85=A5=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AE?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
package.json | 3 ++-
src/main.js | 3 +++
src/views/login.vue | 2 +-
src/views/monitor/log/errorLog.vue | 16 +++++++++++-----
src/views/system/timing/log.vue | 14 +++++++++++---
src/views/system/user/index.vue | 2 +-
src/views/tools/email/send.vue | 2 +-
7 files changed, 30 insertions(+), 12 deletions(-)
diff --git a/package.json b/package.json
index 7012a52..49eb142 100644
--- a/package.json
+++ b/package.json
@@ -59,7 +59,8 @@
"vue-splitpane": "1.0.4",
"vuex": "3.1.0",
"wangeditor": ">=3.0.0",
- "xlsx": "^0.11.16"
+ "xlsx": "^0.11.16",
+ "vue-highlightjs": "^1.3.3"
},
"devDependencies": {
"@babel/core": "7.0.0",
diff --git a/src/main.js b/src/main.js
index 6bb9280..989a3d8 100644
--- a/src/main.js
+++ b/src/main.js
@@ -11,6 +11,8 @@ import permission from './components/Permission'
import 'mavon-editor/dist/css/index.css'
import './assets/styles/element-variables.scss'
import './assets/styles/index.scss' // global css
+import VueHighlightJS from 'vue-highlightjs'
+import 'highlight.js/styles/atom-one-dark.css'
import App from './App'
import store from './store'
@@ -19,6 +21,7 @@ import router from './router/routers'
import './assets/icons' // icon
import './router/index' // permission control
+Vue.use(VueHighlightJS)
Vue.use(mavonEditor)
Vue.use(permission)
Vue.use(dict)
diff --git a/src/views/login.vue b/src/views/login.vue
index 5095120..cc81d5f 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -22,7 +22,7 @@
-
+
记住我
diff --git a/src/views/monitor/log/errorLog.vue b/src/views/monitor/log/errorLog.vue
index 31f5fd0..506c441 100644
--- a/src/views/monitor/log/errorLog.vue
+++ b/src/views/monitor/log/errorLog.vue
@@ -31,10 +31,8 @@
-
-
- {{ errorInfo }}
-
+
+
-
diff --git a/src/views/system/timing/log.vue b/src/views/system/timing/log.vue
index 3606d9b..d29d866 100644
--- a/src/views/system/timing/log.vue
+++ b/src/views/system/timing/log.vue
@@ -55,9 +55,7 @@
-
- {{ errorInfo }}
-
+
+
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index ee55d35..86f4d45 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -75,7 +75,7 @@
/>
-
+
-
+
发送邮件