Browse Source

在Navbar.vue添加项目地址。

Junling Bu 7 years ago
parent
commit
ee6207c126
1 changed files with 14 additions and 9 deletions
  1. 14 9
      litemall-admin/src/views/layout/components/Navbar.vue

+ 14 - 9
litemall-admin/src/views/layout/components/Navbar.vue

@@ -16,16 +16,21 @@
           <i class="el-icon-caret-bottom"></i>
           <i class="el-icon-caret-bottom"></i>
         </div>
         </div>
         <el-dropdown-menu slot="dropdown">
         <el-dropdown-menu slot="dropdown">
-          <router-link to="/">
-            <el-dropdown-item>
+          <el-dropdown-item>
+            <router-link to="/">
               主页
               主页
-            </el-dropdown-item>
-          </router-link>
-          <a target='_blank' href="#">
-            <el-dropdown-item>
-              项目地址
-            </el-dropdown-item>
-          </a>
+            </router-link>
+          </el-dropdown-item>
+          <el-dropdown-item>
+            <a target='_blank' href="https://github.com/linlinjava/litemall">
+              GitHub
+            </a>
+          </el-dropdown-item>
+          <el-dropdown-item>
+            <a target='_blank' href="https://gitee.com/linlinjava/litemall">
+              码云
+            </a>
+          </el-dropdown-item>
           <el-dropdown-item divided>
           <el-dropdown-item divided>
             <span @click="logout" style="display:block;">退出登录</span>
             <span @click="logout" style="display:block;">退出登录</span>
           </el-dropdown-item>
           </el-dropdown-item>