docs: 添加欢迎 star 标语
This commit is contained in:
parent
675bd11fa9
commit
dc108fdbff
@ -1,5 +1,5 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
<img alt="V3-Admin-Vite-Logo" width="120" height="120" src="./src/assets/layout/logo.png">
|
<img alt="V3 Admin Vite Logo" width="120" height="120" src="./src/assets/layout/logo.png">
|
||||||
<h1>V3 Admin Vite</h1>
|
<h1>V3 Admin Vite</h1>
|
||||||
<span>English | <a href="./README.zh-CN.md">中文</a></span>
|
<span>English | <a href="./README.zh-CN.md">中文</a></span>
|
||||||
</div>
|
</div>
|
||||||
@ -124,6 +124,10 @@ Thanks you to all the contributors!
|
|||||||
<img src="https://contrib.rocks/image?repo=un-pany/v3-admin-vite" />
|
<img src="https://contrib.rocks/image?repo=un-pany/v3-admin-vite" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
## 💕 Thanks star
|
||||||
|
|
||||||
|
Small projects are not easy to get a star, if you like this project, welcome to support a star! This is the only motivation for the author to maintain it on an ongoing basis (whisper: it's free after all)
|
||||||
|
|
||||||
## Group
|
## Group
|
||||||
|
|
||||||
QQ group:1014374415 (left) && add me on WeChat,Invite you to join WeChat group (right)
|
QQ group:1014374415 (left) && add me on WeChat,Invite you to join WeChat group (right)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div align="center">
|
<div align="center">
|
||||||
<img alt="V3-Admin-Vite-Logo" width="120" height="120" src="./src/assets/layout/logo.png">
|
<img alt="V3 Admin Vite Logo" width="120" height="120" src="./src/assets/layout/logo.png">
|
||||||
<h1>V3 Admin Vite</h1>
|
<h1>V3 Admin Vite</h1>
|
||||||
<span><a href="./README.md">English</a> | 中文</span>
|
<span><a href="./README.md">English</a> | 中文</span>
|
||||||
</div>
|
</div>
|
||||||
@ -124,6 +124,10 @@ pnpm lint
|
|||||||
<img src="https://contrib.rocks/image?repo=un-pany/v3-admin-vite" />
|
<img src="https://contrib.rocks/image?repo=un-pany/v3-admin-vite" />
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
## 💕 感谢 Star
|
||||||
|
|
||||||
|
小项目获取 star 不易,如果你喜欢这个项目的话,欢迎支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)
|
||||||
|
|
||||||
## 可有可无的群
|
## 可有可无的群
|
||||||
|
|
||||||
QQ 群:1014374415(左)&& 加我微信,拉你进微信群(右)
|
QQ 群:1014374415(左)&& 加我微信,拉你进微信群(右)
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import { ref } from "vue"
|
import { h, ref } from "vue"
|
||||||
import { useUserStore } from "@/store/modules/user"
|
import { useUserStore } from "@/store/modules/user"
|
||||||
import AdminDashboard from "./admin/index.vue"
|
import AdminDashboard from "./admin/index.vue"
|
||||||
import EditorDashboard from "./editor/index.vue"
|
import EditorDashboard from "./editor/index.vue"
|
||||||
|
import { ElNotification } from "element-plus"
|
||||||
|
|
||||||
type CurrentRoleType = "admin" | "editor"
|
type CurrentRoleType = "admin" | "editor"
|
||||||
|
|
||||||
@ -11,6 +12,17 @@ const currentRole = ref<CurrentRoleType>("admin")
|
|||||||
if (!userStore.roles.includes("admin")) {
|
if (!userStore.roles.includes("admin")) {
|
||||||
currentRole.value = "editor"
|
currentRole.value = "editor"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ElNotification({
|
||||||
|
title: "Hello",
|
||||||
|
message: h(
|
||||||
|
"a",
|
||||||
|
{ style: "color: teal", target: "_blank", href: "https://github.com/un-pany/v3-admin-vite" },
|
||||||
|
"小项目获取 star 不易,如果你喜欢这个项目的话,欢迎点击这里支持一个 star !这是作者持续维护的唯一动力(小声:毕竟是免费的)"
|
||||||
|
),
|
||||||
|
duration: 0,
|
||||||
|
position: "bottom-right"
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user