From 888d449cd0e88990de03eacdcbcb25bb35f4d668 Mon Sep 17 00:00:00 2001
From: yz_08 <yz_0812@outlook.com>
Date: 星期三, 03 二月 2021 15:26:58 +0800
Subject: [PATCH] 修改点击效果

---
 vue.config.js         |    4 ++--
 src/styles/index.scss |    3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/styles/index.scss b/src/styles/index.scss
index 753807f..dbb40f9 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -257,7 +257,8 @@
   line-height: 38px;
 }
 .el-menu-item.is-active {
-  background-color: rgba(0,0,0,.1) !important;
+  background-color: rgb(163, 44, 48) !important;
+  color: #fff !important;
 }
 .el-button {
   padding: 10px 20px;
diff --git a/vue.config.js b/vue.config.js
index 4132a51..225fd0b 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -36,8 +36,8 @@
       // change xxx-api/login => mock/login
       // detail: https://cli.vuejs.org/config/#devserver-proxy
       [process.env.VUE_APP_BASE_API]: {
-        // target: 'http://120.24.23.155:8301/',
-        target: 'http://127.0.0.1:8301/',
+        target: 'http://120.24.23.155:8301/',
+        // target: 'http://127.0.0.1:8301/',
         changeOrigin: true,
         pathRewrite: {
           ['^' + process.env.VUE_APP_BASE_API]: ''

--
Gitblit v1.8.0