feat: 头部增加github源码网站

This commit is contained in:
张传龙 2022-05-22 20:50:32 +08:00
parent 36ddb23db6
commit 21391b202f
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<template>
<n-icon mr20 size="18" style="cursor: pointer" @click="handleLinkClick">
<IconGithub />
</n-icon>
</template>
<script setup>
import { IconGithub } from '@/components/AppIcons'
function handleLinkClick() {
window.open('https://github.com/zclzone/vue-naive-admin')
}
</script>
<style lang="scss" scoped></style>

View File

@ -5,6 +5,7 @@
<BreadCrumb ml-15 /> <BreadCrumb ml-15 />
</div> </div>
<div class="h-right"> <div class="h-right">
<GithubSite />
<FullScreen /> <FullScreen />
<UserAvatar /> <UserAvatar />
</div> </div>
@ -16,6 +17,7 @@ import BreadCrumb from './components/BreadCrumb.vue'
import MenuCollapse from './components/MenuCollapse.vue' import MenuCollapse from './components/MenuCollapse.vue'
import FullScreen from './components/FullScreen.vue' import FullScreen from './components/FullScreen.vue'
import UserAvatar from './components/UserAvatar.vue' import UserAvatar from './components/UserAvatar.vue'
import GithubSite from './components/GithubSite.vue'
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>