From 17b702254553ac1612cdb5ce4d0bc1609556f6ac Mon Sep 17 00:00:00 2001
From: chuzhixin <1204505056@qq.com>
Date: Tue, 6 Oct 2020 14:29:05 +0800
Subject: [PATCH] 🎉navBar本地化

---
 src/layouts/components/Avatar/index.vue | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/src/layouts/components/Avatar/index.vue b/src/layouts/components/Avatar/index.vue
index 3c9554d..091469d 100644
--- a/src/layouts/components/Avatar/index.vue
+++ b/src/layouts/components/Avatar/index.vue
@@ -10,10 +10,9 @@
     </span>
 
     <el-dropdown-menu slot="dropdown">
-      <el-dropdown-item command="logout" divided>
-        <vab-icon :icon="['fas', 'sign-out-alt']"></vab-icon>
-        退出登录
-      </el-dropdown-item>
+      <el-dropdown-item command="github">github地址</el-dropdown-item>
+      <el-dropdown-item command="gitee" divided>码云地址</el-dropdown-item>
+      <el-dropdown-item command="logout" divided>退出登录</el-dropdown-item>
     </el-dropdown-menu>
   </el-dropdown>
 </template>
@@ -39,6 +38,12 @@
           case "personalCenter":
             this.personalCenter();
             break;
+          case "github":
+            window.open("https://github.com/chuzhixin/vue-admin-beautiful");
+            break;
+          case "gitee":
+            window.open("https://gitee.com/chu1204505056/vue-admin-beautiful");
+            break;
         }
       },
       personalCenter() {
--
libgit2 0.26.0