mirror of
https://gitee.com/chu1204505056/vue-admin-beautiful.git
synced 2025-04-05 05:42:45 +08:00
♻️ refactor: code
This commit is contained in:
parent
a242f65e22
commit
7ce9c0dca6
42
README.en.md
42
README.en.md
@ -1,14 +1,14 @@
|
||||
[简体中文](./README.md) | English
|
||||
|
||||
<div align="center"><img width="200" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/logo/vab.png"/>
|
||||
<div align="center"><img width="200" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/logo/vab.png"/>
|
||||
<h1> vue-admin-better(element-ui) </h1>
|
||||
<p>The flying snow all over the sky is a flying note, playing out expectations with blessings. May the epidemic dissipate as soon as possible, may you no longer have regrets next year, may you be warm in winter, may you not be cold in spring, and may you have lights in the dark and an umbrella in the rain.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
[](https://github.com/chuzhixin/vue-admin-beautiful)
|
||||
[](https://github.com/zxwk1998/vue-admin-better)
|
||||
[](https://gitee.com/chu1204505056/vue-admin-better)
|
||||
[](https://en.wikipedia.org/wiki/MIT_License)
|
||||
[](https://en.wikipedia.org/wiki/MIT_License)
|
||||
|
||||
---
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
- [📌 Pro and plus purchase address authorization](https://vue-admin-beautiful.com/authorization/)
|
||||
|
||||
- [🌐 Github Warehouse address](https://github.com/chuzhixin/vue-admin-beautiful?utm_source=gold_browser_extension)
|
||||
- [🌐 Github Warehouse address](https://github.com/zxwk1998/vue-admin-better?utm_source=gold_browser_extension)
|
||||
|
||||
- [🌐 Gitee Warehouse address](https://gitee.com/chu1204505056/vue-admin-better?_from=gitee_search)
|
||||
|
||||
@ -56,18 +56,18 @@
|
||||
- [Admin Pro](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
|
||||
- [Admin Plus](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
|
||||
|
||||
## 🌱 Vue3.x vue3.0-antdv [Click switch branch](https://github.com/chuzhixin/vue-admin-better/tree/vue3.0-antdv)
|
||||
## 🌱 Vue3.x vue3.0-antdv [Click switch branch](https://github.com/zxwk1998/vue-admin-better/tree/vue3.0-antdv)
|
||||
|
||||
```bash
|
||||
git clone -b vue3.0-antdv https://github.com/chuzhixin/vue-admin-better.git
|
||||
git clone -b vue3.0-antdv https://github.com/zxwk1998/vue-admin-better.git
|
||||
npm i --registry=http://mirrors.cloud.tencent.com/npm/
|
||||
npm run serve
|
||||
```
|
||||
|
||||
## 🌱 Vue2.xmain [Click switch branch](https://github.com/chuzhixin/vue-admin-better/tree/master)
|
||||
## 🌱 Vue2.xmain [Click switch branch](https://github.com/zxwk1998/vue-admin-better/tree/master)
|
||||
|
||||
```bash
|
||||
git clone -b master https://github.com/chuzhixin/vue-admin-better.git
|
||||
git clone -b master https://github.com/zxwk1998/vue-admin-better.git
|
||||
npm i --registry=http://mirrors.cloud.tencent.com/npm/
|
||||
npm run serve
|
||||
```
|
||||
@ -83,16 +83,16 @@ npm run serve
|
||||
<table>
|
||||
<tr>
|
||||
<!-- <td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/qq_group/hbm.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/qq_group/hbm.jpg">
|
||||
</td> -->
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/zfb_kf.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/zfb_kf.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/qq_group/vab-2.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/qq_group/vab-2.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/qq_group/vab-3.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/qq_group/vab-3.jpg">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -100,10 +100,10 @@ npm run serve
|
||||
## 🙈 We promise to sponsor open source projects regularly (thank giant)
|
||||
|
||||
<a title="vue" href="https://opencollective.com/vuejs" target="_blank">
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/vue.png"/>
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/vue.png"/>
|
||||
</a>
|
||||
<a title="element-plus" href="https://opencollective.com/element-plus" target="_blank">
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/element-plus.png"/>
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/element-plus.png"/>
|
||||
</a>
|
||||
<a title="ant-design-vue" href="https://opencollective.com/ant-design-vue" target="_blank">
|
||||
<img width="64px" src="https://images.opencollective.com/ant-design-vue/2ec179b/logo/256.png"/>
|
||||
@ -166,7 +166,7 @@ Precautions for use:
|
||||
|
||||
## 🎉 Function map
|
||||
|
||||

|
||||

|
||||
|
||||
## 🗃️ design sketch
|
||||
|
||||
@ -175,26 +175,26 @@ The following is a screenshot of the pro version:
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/2.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/2.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/6.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/6.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/8.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/8.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/9.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/9.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/3.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/3.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/5.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/5.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
64
README.md
64
README.md
@ -2,14 +2,14 @@
|
||||
|
||||
简体中文 | [English](./README.en.md)
|
||||
|
||||
<div align="center"><img width="200" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/logo/vab.png"/>
|
||||
<div align="center"><img width="200" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/logo/vab.png"/>
|
||||
<h1> vue-admin-better</h1>
|
||||
<p>瑞雪兆丰年,红梅报新春,愿您新的一年平安喜乐,万事顺意,所得皆所愿!</p>
|
||||
</div>
|
||||
|
||||
[](https://github.com/chuzhixin/vue-admin-beautiful)
|
||||
[](https://github.com/zxwk1998/vue-admin-better)
|
||||
[](https://gitee.com/chu1204505056/vue-admin-better)
|
||||
[](https://en.wikipedia.org/wiki/MIT_License)
|
||||
[](https://en.wikipedia.org/wiki/MIT_License)
|
||||
|
||||
---
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
|
||||
基于 vite5.x + vue3.x + arco-design2.x 全新的前端框架 vue-admin-arco, 欢迎点击查看或试用 👏🏻👏🏻👏🏻
|
||||
|
||||
[开源地址](https://github.com/chuzhixin/vue-admin-arco) | [演示地址](https://vue-admin-beautiful.com/vue-admin-arco) -->
|
||||
[开源地址](https://github.com/zxwk1998/vue-admin-arco) | [演示地址](https://vue-admin-beautiful.com/vue-admin-arco) -->
|
||||
|
||||
## 🎉 特性
|
||||
|
||||
@ -53,9 +53,9 @@
|
||||
|
||||
## 🌐 仓库地址
|
||||
|
||||
- [🌐 vue2.x github 仓库地址](https://github.com/chuzhixin/vue-admin-beautiful?utm_source=gold_browser_extension)
|
||||
- [🌐 vue2.x github 仓库地址](https://github.com/zxwk1998/vue-admin-better?utm_source=gold_browser_extension)
|
||||
|
||||
- [🌐 vue3.x github 仓库地址](https://github.com/chuzhixin/vue-admin-arco?utm_source=gold_browser_extension)
|
||||
- [🌐 vue3.x github 仓库地址](https://github.com/zxwk1998/vue-admin-arco?utm_source=gold_browser_extension)
|
||||
|
||||
- [🌐 vue2.x 码云仓库地址](https://gitee.com/chu1204505056/vue-admin-better?_from=gitee_search)
|
||||
|
||||
@ -69,13 +69,13 @@
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/zfb_kf.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/zfb_kf.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/qq_group/vab-2.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/qq_group/vab-2.jpg">
|
||||
</td>
|
||||
<td>
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/qq_group/vab-3.jpg">
|
||||
<img width="200px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/qq_group/vab-3.jpg">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -85,33 +85,33 @@
|
||||
- [Admin Pro](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
|
||||
- [Admin Plus](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
|
||||
|
||||
## 🌱 vue3.x vue3.0-antdv 分支(ant-design-vue)[点击切换分支](https://github.com/chuzhixin/vue-admin-better/tree/vue3.0-antdv)
|
||||
## 🌱 vue3.x vue3.0-antdv 分支(ant-design-vue)[点击切换分支](https://github.com/zxwk1998/vue-admin-better/tree/vue3.0-antdv)
|
||||
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone -b vue3.0-antdv https://github.com/chuzhixin/vue-admin-better.git
|
||||
git clone -b vue3.0-antdv https://github.com/zxwk1998/vue-admin-better.git
|
||||
# 安装依赖
|
||||
npm i --registry=http://mirrors.cloud.tencent.com/npm/
|
||||
# 本地开发 启动项目
|
||||
npm run serve
|
||||
```
|
||||
|
||||
## 🌱 vue3.x arco-design [点击切换仓库](https://github.com/chuzhixin/vue-admin-arco)
|
||||
## 🌱 vue3.x arco-design [点击切换仓库](https://github.com/zxwk1998/vue-admin-arco)
|
||||
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clonehttps://github.com/chuzhixin/vue-admin-arco.git
|
||||
git clonehttps://github.com/zxwk1998/vue-admin-arco.git
|
||||
# 安装依赖
|
||||
npm i --registry=http://mirrors.cloud.tencent.com/npm/
|
||||
# 本地开发 启动项目
|
||||
npm run dev
|
||||
```
|
||||
|
||||
## 🌱vue2.x master 分支(element-ui)[点击切换分支](https://github.com/chuzhixin/vue-admin-better/tree/master)
|
||||
## 🌱vue2.x master 分支(element-ui)[点击切换分支](https://github.com/zxwk1998/vue-admin-better/tree/master)
|
||||
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone -b master https://github.com/chuzhixin/vue-admin-better.git
|
||||
git clone -b master https://github.com/zxwk1998/vue-admin-better.git
|
||||
# 安装依赖
|
||||
npm i --registry=http://mirrors.cloud.tencent.com/npm/
|
||||
# 本地开发 启动项目
|
||||
@ -133,10 +133,10 @@ npm run serve
|
||||
- 如果您觉得 vue admin better 帮到了您 ,如果情况允许,您可以选择赞助以下项目
|
||||
|
||||
<a title="vue" href="https://opencollective.com/vuejs" target="_blank">
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/vue.png"/>
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/vue.png"/>
|
||||
</a>
|
||||
<a title="element-plus" href="https://opencollective.com/element-plus" target="_blank">
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/chuzhixin/image/element-plus.png"/>
|
||||
<img width="64px" src="https://gcore.jsdelivr.net/gh/zxwk1998/image/element-plus.png"/>
|
||||
</a>
|
||||
<a title="ant-design-vue" href="https://opencollective.com/ant-design-vue" target="_blank">
|
||||
<img width="64px" src="https://images.opencollective.com/ant-design-vue/2ec179b/logo/256.png"/>
|
||||
@ -195,15 +195,15 @@ npm run serve
|
||||
|
||||
## 🎨 Star
|
||||
|
||||
[](https://github.com/chuzhixin/vue-admin-better/stargazers)
|
||||
[](https://github.com/zxwk1998/vue-admin-better/stargazers)
|
||||
|
||||
## ✨ Fork
|
||||
|
||||
[](https://github.com/chuzhixin/vue-admin-better/network/members)
|
||||
[](https://github.com/zxwk1998/vue-admin-better/network/members)
|
||||
|
||||
## 🎉 功能地图
|
||||
|
||||

|
||||

|
||||
|
||||
## 🗃️ 效果图
|
||||
|
||||
@ -212,26 +212,26 @@ npm run serve
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/2.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/2.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/6.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/6.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/8.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/8.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/9.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/9.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/3.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/3.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/5.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/5.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -241,26 +241,26 @@ npm run serve
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/16.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/16.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/17.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/17.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/18.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/18.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/19.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/19.png">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/20.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/20.png">
|
||||
</td>
|
||||
<td>
|
||||
<img src="https://gcore.jsdelivr.net/gh/chuzhixin/image/21.png">
|
||||
<img src="https://gcore.jsdelivr.net/gh/zxwk1998/image/21.png">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
10
deploy.sh
10
deploy.sh
@ -7,11 +7,11 @@ touch .nojekyll
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-beautiful.git" master:gh-pages
|
||||
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-beautiful-element.git" master:gh-pages
|
||||
start "https://gitee.com/chu1204505056/vue-admin-beautiful/pages"
|
||||
start "https://gitee.com/chu1204505056/vue-admin-beautiful-element/pages"
|
||||
git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-beautiful.git" master:gh-pages
|
||||
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-better.git" master:gh-pages
|
||||
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-better-element.git" master:gh-pages
|
||||
start "https://gitee.com/chu1204505056/vue-admin-better/pages"
|
||||
start "https://gitee.com/chu1204505056/vue-admin-better-element/pages"
|
||||
git push -f "https://${access_token}@github.com/zxwk1998/vue-admin-better.git" master:gh-pages
|
||||
cd -
|
||||
exec /bin/bash
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<a
|
||||
aria-label="View source on Github"
|
||||
class="github-corner"
|
||||
href="https://github.com/chuzhixin/vue-admin-beautiful"
|
||||
href="https://github.com/zxwk1998/vue-admin-better"
|
||||
target="_blank"
|
||||
>
|
||||
<svg
|
||||
|
@ -6,7 +6,7 @@ module.exports = {
|
||||
const chalk = require('chalk')
|
||||
console.log(
|
||||
chalk.green(
|
||||
`> 欢迎使用vue-admin-better,github开源地址:https://github.com/chuzhixin/vue-admin-better`
|
||||
`> 欢迎使用vue-admin-better,github开源地址:https://github.com/zxwk1998/vue-admin-better`
|
||||
)
|
||||
)
|
||||
console.log(
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "vue-admin-better",
|
||||
"version": "2.5.0",
|
||||
"author": "vue-admin-better",
|
||||
"version": "2.5.5",
|
||||
"author": "zxwk1998",
|
||||
"participants": [],
|
||||
"homepage": "https://chu1204505056.gitee.io/vue-admin-better",
|
||||
"scripts": {
|
||||
@ -20,7 +20,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/chuzhixin/vue-admin-better.git"
|
||||
"url": "git+https://github.com/zxwk1998/vue-admin-better.git"
|
||||
},
|
||||
"gitHooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
|
2
push.sh
2
push.sh
@ -4,7 +4,7 @@ set -e
|
||||
git init
|
||||
git add -A
|
||||
git commit -m '🎉 feat: init project'
|
||||
git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-better.git" master
|
||||
git push -f "https://${access_token}@github.com/zxwk1998/vue-admin-better.git" master
|
||||
exec /bin/bash
|
||||
|
||||
|
||||
|
@ -2,7 +2,7 @@ import request from 'axios'
|
||||
|
||||
export function getRepos(params) {
|
||||
return request({
|
||||
url: 'https://api.github.com/repos/chuzhixin/vue-admin-beautiful',
|
||||
url: 'https://api.github.com/repos/zxwk1998/vue-admin-better',
|
||||
method: 'get',
|
||||
params,
|
||||
timeout: 10000,
|
||||
@ -11,7 +11,7 @@ export function getRepos(params) {
|
||||
|
||||
export function getStargazers(params) {
|
||||
return request({
|
||||
url: 'https://api.github.com/repos/chuzhixin/vue-admin-beautiful/stargazers',
|
||||
url: 'https://api.github.com/repos/zxwk1998/vue-admin-better/stargazers',
|
||||
method: 'get',
|
||||
params,
|
||||
timeout: 10000,
|
||||
|
@ -42,7 +42,7 @@
|
||||
this.personalCenter()
|
||||
break
|
||||
case 'github':
|
||||
window.open('https://github.com/chuzhixin/vue-admin-better')
|
||||
window.open('https://github.com/zxwk1998/vue-admin-better')
|
||||
break
|
||||
case 'gitee':
|
||||
window.open('https://gitee.com/chu1204505056/vue-admin-better')
|
||||
|
@ -81,7 +81,7 @@
|
||||
created() {
|
||||
const handleTheme = () => {
|
||||
this.handleOpenThemeBar()
|
||||
};
|
||||
}
|
||||
|
||||
this.$baseEventBus.$on('theme', handleTheme)
|
||||
const theme = localStorage.getItem('vue-admin-beautiful-theme')
|
||||
@ -95,8 +95,8 @@
|
||||
}
|
||||
|
||||
this.$once('hook:beforeDestroy', () => {
|
||||
this.$baseEventBus.$off('theme', handleTheme);
|
||||
});
|
||||
this.$baseEventBus.$off('theme', handleTheme)
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
...mapActions({
|
||||
@ -145,7 +145,7 @@
|
||||
location.reload()
|
||||
},
|
||||
handleGetCode() {
|
||||
const url = 'https://github.com/chuzhixin/vue-admin-beautiful/tree/master/src/views'
|
||||
const url = 'https://github.com/zxwk1998/vue-admin-better/tree/master/src/views'
|
||||
let path = this.$route.path + '/index.vue'
|
||||
if (path === '/vab/menu1/menu1-1/menu1-1-1/index.vue') {
|
||||
path = '/vab/nested/menu1/menu1-1/menu1-1-1/index.vue'
|
||||
|
@ -221,7 +221,7 @@ export const asyncRoutes = [
|
||||
meta: { title: '错误日志模拟', permissions: ['admin'] },
|
||||
},
|
||||
{
|
||||
path: 'https://github.com/chuzhixin/vue-admin-beautiful?utm_source=gold_browser_extension',
|
||||
path: 'https://github.com/zxwk1998/vue-admin-better?utm_source=gold_browser_extension',
|
||||
name: 'ExternalLink',
|
||||
meta: {
|
||||
title: '外链',
|
||||
|
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* @author chuzhixin 1204505056@qq.com (不想保留author可删除)
|
||||
* @author zxwk1998 (不想保留author可删除)
|
||||
* @description 判读是否为外链
|
||||
* @param path
|
||||
* @returns {boolean}
|
||||
@ -19,7 +19,7 @@ export function isPassword(str) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @author chuzhixin 1204505056@qq.com (不想保留author可删除)
|
||||
* @author zxwk1998 (不想保留author可删除)
|
||||
* @description 判断是否是字符串
|
||||
* @param str
|
||||
* @returns {boolean}
|
||||
@ -29,7 +29,7 @@ export function isString(str) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @author chuzhixin 1204505056@qq.com (不想保留author可删除)
|
||||
* @author zxwk1998 (不想保留author可删除)
|
||||
* @description 判断是否是数组
|
||||
* @param arg
|
||||
* @returns {arg is any[]|boolean}
|
||||
@ -42,7 +42,7 @@ export function isArray(arg) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @author chuzhixin 1204505056@qq.com (不想保留author可删除)
|
||||
* @author zxwk1998 (不想保留author可删除)
|
||||
* @description 判断是否是手机号
|
||||
* @param str
|
||||
* @returns {boolean}
|
||||
|
@ -49,7 +49,7 @@
|
||||
color: '#1890FF',
|
||||
},
|
||||
{
|
||||
title: 'vue-admin-beautiful标星过1K',
|
||||
title: 'vue-admin-better标星过1K',
|
||||
endTIme: '2020-03-31',
|
||||
percentage: 100,
|
||||
color: '#ffc069',
|
||||
|
@ -32,7 +32,7 @@
|
||||
<a href="https://vue-admin-beautiful.com/authorization" target="_blank">
|
||||
<el-button style="margin-left: 10px" type="primary">Plus付费版本 购买源码 ¥799</el-button>
|
||||
</a>
|
||||
<a href="https://github.com/chuzhixin/vue-admin-beautiful/" target="_blank">
|
||||
<a href="https://github.com/zxwk1998/vue-admin-better/" target="_blank">
|
||||
<el-button style="margin-left: 10px" type="warning">开源免费版</el-button>
|
||||
</a>
|
||||
</td>
|
||||
|
@ -4,9 +4,9 @@
|
||||
<el-col :lg="24" :md="24" :sm="24" :xl="24" :xs="24">
|
||||
<el-alert v-if="noticeList[0]" :closable="noticeList[0].closable">
|
||||
<div style="display: flex; align-items: center; justify-content: center">
|
||||
<a href="https://github.com/chuzhixin/vue-admin-better" target="_blank">
|
||||
<a href="https://github.com/zxwk1998/vue-admin-better" target="_blank">
|
||||
<img
|
||||
src="https://img.shields.io/github/stars/chuzhixin/vue-admin-better?style=flat-square&label=Stars&logo=github"
|
||||
src="https://img.shields.io/github/stars/zxwk1998/vue-admin-better?style=flat-square&label=Stars&logo=github"
|
||||
style="margin-right: 10px"
|
||||
/>
|
||||
</a>
|
||||
@ -70,13 +70,13 @@
|
||||
<el-button type="primary">QQ讨论群、基础版、文档</el-button>
|
||||
</a>
|
||||
</el-popover>
|
||||
<a href="https://github.com/chuzhixin/vue-admin-better" target="_blank">
|
||||
<a href="https://github.com/zxwk1998/vue-admin-better" target="_blank">
|
||||
<el-button type="warning">vue2.x版本 github下载源码点star</el-button>
|
||||
</a>
|
||||
<a href="https://gitee.com/chu1204505056/vue-admin-beautiful" target="_blank">
|
||||
<a href="https://gitee.com/chu1204505056/vue-admin-better" target="_blank">
|
||||
<el-button type="warning">vue2.x版本 码云下载源码点star</el-button>
|
||||
</a>
|
||||
<a href="https://github.com/chuzhixin/vue-admin-arco" target="_blank">
|
||||
<a href="https://github.com/zxwk1998/vue-admin-arco" target="_blank">
|
||||
<el-button type="warning">vue3.x版本 github下载源码点star</el-button>
|
||||
</a>
|
||||
<a @click="handleChangeTheme">
|
||||
@ -323,7 +323,7 @@
|
||||
value: 6500,
|
||||
},
|
||||
{
|
||||
name: 'chuzhixin',
|
||||
name: 'zxwk1998',
|
||||
value: 6000,
|
||||
},
|
||||
{
|
||||
@ -430,7 +430,7 @@
|
||||
{
|
||||
icon: 'laptop-code',
|
||||
title: '源码',
|
||||
link: 'https://github.com/chuzhixin/vue-admin-better',
|
||||
link: 'https://github.com/zxwk1998/vue-admin-better',
|
||||
color: '#b37feb',
|
||||
},
|
||||
{
|
||||
|
@ -1,11 +1,5 @@
|
||||
<template>
|
||||
<div class="login-container">
|
||||
<el-alert
|
||||
:closable="false"
|
||||
style="position: fixed"
|
||||
title="beautiful boys and girls欢迎加入vue-admin-beautifulQQ群:972435319"
|
||||
type="success"
|
||||
/>
|
||||
<el-row>
|
||||
<el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24">
|
||||
<div style="color: transparent">占位符</div>
|
||||
|
@ -28,8 +28,8 @@
|
||||
return {
|
||||
form: {
|
||||
payAccount: 'XXXXXXXXXXXXXXXX',
|
||||
gatheringAccount: '1204505056@qq.com',
|
||||
gatheringName: 'chuzhixin',
|
||||
gatheringAccount: '',
|
||||
gatheringName: 'zxwk1998',
|
||||
price: '100',
|
||||
},
|
||||
rules: {
|
||||
|
@ -1,12 +1,5 @@
|
||||
<template>
|
||||
<div class="register-container">
|
||||
<el-alert
|
||||
v-if="nodeEnv !== 'development'"
|
||||
:closable="false"
|
||||
style="position: fixed"
|
||||
title="beautiful boys and girls欢迎加入vue-admin-beautifulQQ群:972435319"
|
||||
type="success"
|
||||
/>
|
||||
<el-row>
|
||||
<el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24">
|
||||
<div style="color: transparent">占位符</div>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<!-- js代码错误实时提醒测试 -->
|
||||
<div>{{ chuzhixinjiayou.chuzhixinjiayou }}</div>
|
||||
<div>{{ zxwk1998jiayou.zxwk1998jiayou }}</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="errorLog-container">
|
||||
<el-divider content-position="left">这里会在顶部navbar上模拟一个控制台错误日志</el-divider>
|
||||
<el-button type="primary" @click="handleError">点击模拟一个chuzhixinjiayou的错误</el-button>
|
||||
<el-button type="primary" @click="handleError">点击模拟一个zxwk1998jiayou的错误</el-button>
|
||||
<error-test v-if="show" />
|
||||
</div>
|
||||
</template>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
<el-col v-for="(item, index) in queryIcon" :key="index" :lg="2" :md="3" :sm="8" :xl="2" :xs="6">
|
||||
<el-card shadow="hover" style="cursor: pointer" @click.native="handleCopyIcon(index, $event)">
|
||||
<vab-colorful-icon :icon-class="`https://gcore.jsdelivr.net/gh/chuzhixin/zx-colorful-icon@master/${item}.svg`" />
|
||||
<vab-colorful-icon :icon-class="`https://gcore.jsdelivr.net/gh/zxwk1998/zx-colorful-icon@master/${item}.svg`" />
|
||||
</el-card>
|
||||
<div class="icon-text">
|
||||
{{ item }}
|
||||
@ -89,7 +89,7 @@
|
||||
this.total = totalCount
|
||||
},
|
||||
handleCopyIcon(index, event) {
|
||||
//const copyText = `<vab-colorful-icon icon-class="https://gcore.jsdelivr.net/gh/chuzhixin/zx-colorful-icon@master/${this.queryIcon[index]}.svg" />`;
|
||||
//const copyText = `<vab-colorful-icon icon-class="https://gcore.jsdelivr.net/gh/zxwk1998/zx-colorful-icon@master/${this.queryIcon[index]}.svg" />`;
|
||||
const copyText = `<vab-colorful-icon icon-class="${this.queryIcon[index]}" />`
|
||||
this.copyText = copyText
|
||||
clip(copyText, event)
|
||||
|
@ -15,7 +15,7 @@
|
||||
</li>
|
||||
<li>
|
||||
开源地址
|
||||
<a href="https://github.com/chuzhixin/vue-admin-beautiful" target="_blank">如果有幸帮到了你,麻烦给个star</a>
|
||||
<a href="https://github.com/zxwk1998/vue-admin-better" target="_blank">如果有幸帮到了你,麻烦给个star</a>
|
||||
</li>
|
||||
<li>提供讨论群专属文档,QQ群 972435319、1139183756</li>
|
||||
</ul>
|
||||
|
@ -18,7 +18,7 @@
|
||||
<span>profile</span>
|
||||
<el-button style="float: right; padding: 3px 0" type="text" @click="handleProfile">重载</el-button>
|
||||
</div>
|
||||
<vab-profile v-if="profileShow" avatar="https://picsum.photos/80/80?random=2" user-name="chuzhixin" />
|
||||
<vab-profile v-if="profileShow" avatar="https://picsum.photos/80/80?random=2" user-name="zxwk1998" />
|
||||
</el-card>
|
||||
</el-col>
|
||||
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">
|
||||
|
@ -26,7 +26,7 @@ const WebpackBar = require('webpackbar')
|
||||
const dayjs = require('dayjs')
|
||||
const date = dayjs().format('YYYY_M_D')
|
||||
const time = dayjs().format('YYYY-M-D HH:mm:ss')
|
||||
process.env.VUE_APP_TITLE = title || 'vue-admin-beautiful'
|
||||
process.env.VUE_APP_TITLE = title || 'vue-admin-better'
|
||||
process.env.VUE_APP_AUTHOR = author || 'https://vue-admin-beautiful.com'
|
||||
process.env.VUE_APP_UPDATE_TIME = time
|
||||
process.env.VUE_APP_VERSION = version
|
||||
|
Loading…
x
Reference in New Issue
Block a user