This commit is contained in:
zouzhibing 2022-09-18 12:33:17 +08:00
commit af5849c9eb
2 changed files with 10 additions and 6 deletions

View File

@ -1,8 +1,12 @@
## 简介
vue-element-perfect 是一个后台前端解决方案, 基于Vue3.0+TS+Element-plus实现。它使用了最新的前端技术栈、动态路由权限验证并且有着丰富的组件。
### 在线预览点击 —— [企业级、通用型中后台前端解决方案 ](http://182.61.5.190:8889/)
### 在线预览
- link —— [http://182.61.5.190:8889/ ](http://182.61.5.190:8889/)
### git仓库
- Gitee —— [https://gitee.com/yuanzbz/vue-admin-perfect](https://gitee.com/yuanzbz/vue-admin-perfect)
- GitHub —— [https://github.com/zouzhibin/vue-admin-perfect](https://github.com/zouzhibin/vue-admin-perfect)
## 项目功能
- 使用Vue3.0开发单文件组件采用script setup
- 登录逻辑使用vue-router进行路由权限拦截判断路由懒加载

View File

@ -10,15 +10,15 @@
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
<el-tab-pane label="通知" name="first">
<div class="item-child">
github开源地址<el-button type="primary" link @click="toGitHub">点我</el-button></div
GitHub开源地址<el-button type="primary" link @click="toGitHub('https://github.com/zouzhibin/vue-admin-perfect')">点我</el-button></div
>
<el-divider style="margin-bottom: 15px"/>
<div class="item-child">
github开源地址<el-button type="primary" link @click="toGitHub">点我</el-button></div
Gitee开源地址<el-button type="primary" link @click="toGitHub('https://gitee.com/yuanzbz/vue-admin-perfect')">点我</el-button></div
>
<el-divider />
<div class="item-child">
github开源地址<el-button type="primary" link @click="toGitHub">点我</el-button></div
github开源地址<el-button type="primary" link @click="toGitHub('https://github.com/zouzhibin/vue-admin-perfect')">点我</el-button></div
>
</el-tab-pane>
</el-tabs>
@ -32,8 +32,8 @@
import type { TabsPaneContext } from 'element-plus'
const activeName = ref('first')
const toGitHub = () => {
window.open('https://github.com/zouzhibin/vue-admin-perfect')
const toGitHub = (link) => {
window.open(link)
}
const handleClick = (tab: TabsPaneContext, event: Event) => {
console.log(tab, event)