♻️ refactor: code

This commit is contained in:
zxwk 2024-06-27 13:07:11 +08:00
parent a242f65e22
commit 7ce9c0dca6
24 changed files with 94 additions and 107 deletions

View File

@ -1,14 +1,14 @@
[简体中文](./README.md) | English [简体中文](./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-betterelement-ui </h1> <h1> vue-admin-betterelement-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>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> </p>
</div> </div>
[![stars](https://img.shields.io/github/stars/chuzhixin/vue-admin-beautiful?style=flat-square&logo=GitHub)](https://github.com/chuzhixin/vue-admin-beautiful) [![stars](https://img.shields.io/github/stars/zxwk1998/vue-admin-better?style=flat-square&logo=GitHub)](https://github.com/zxwk1998/vue-admin-better)
[![star](https://gitee.com/chu1204505056/vue-admin-better/badge/star.svg?theme=gray)](https://gitee.com/chu1204505056/vue-admin-better) [![star](https://gitee.com/chu1204505056/vue-admin-better/badge/star.svg?theme=gray)](https://gitee.com/chu1204505056/vue-admin-better)
[![license](https://img.shields.io/github/license/chuzhixin/vue-admin-beautiful?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License) [![license](https://img.shields.io/github/license/zxwk1998/vue-admin-better?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
--- ---
@ -38,7 +38,7 @@
- [📌 Pro and plus purchase address authorization](https://vue-admin-beautiful.com/authorization/) - [📌 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) - [🌐 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 Pro](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
- [Admin Plus](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 ```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 i --registry=http://mirrors.cloud.tencent.com/npm/
npm run serve 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 ```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 i --registry=http://mirrors.cloud.tencent.com/npm/
npm run serve npm run serve
``` ```
@ -83,16 +83,16 @@ npm run serve
<table> <table>
<tr> <tr>
<!-- <td> <!-- <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> -->
<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>
<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>
<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> </td>
</tr> </tr>
</table> </table>
@ -100,10 +100,10 @@ npm run serve
## 🙈 We promise to sponsor open source projects regularly (thank giant) ## 🙈 We promise to sponsor open source projects regularly (thank giant)
<a title="vue" href="https://opencollective.com/vuejs" target="_blank"> <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>
<a title="element-plus" href="https://opencollective.com/element-plus" target="_blank"> <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>
<a title="ant-design-vue" href="https://opencollective.com/ant-design-vue" target="_blank"> <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"/> <img width="64px" src="https://images.opencollective.com/ant-design-vue/2ec179b/logo/256.png"/>
@ -166,7 +166,7 @@ Precautions for use:
## 🎉 Function map ## 🎉 Function map
![img](https://gcore.jsdelivr.net/gh/chuzhixin/image/vip/flow.drawio.png) ![img](https://gcore.jsdelivr.net/gh/zxwk1998/image/vip/flow.drawio.png)
## 🗃️ design sketch ## 🗃️ design sketch
@ -175,26 +175,26 @@ The following is a screenshot of the pro version:
<table> <table>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
</table> </table>

View File

@ -2,14 +2,14 @@
简体中文 | [English](./README.en.md) 简体中文 | [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> <h1> vue-admin-better</h1>
<p>瑞雪兆丰年,红梅报新春,愿您新的一年平安喜乐,万事顺意,所得皆所愿!</p> <p>瑞雪兆丰年,红梅报新春,愿您新的一年平安喜乐,万事顺意,所得皆所愿!</p>
</div> </div>
[![stars](https://img.shields.io/github/stars/chuzhixin/vue-admin-beautiful?style=flat-square&logo=GitHub)](https://github.com/chuzhixin/vue-admin-beautiful) [![stars](https://img.shields.io/github/stars/zxwk1998/vue-admin-better?style=flat-square&logo=GitHub)](https://github.com/zxwk1998/vue-admin-better)
[![star](https://gitee.com/chu1204505056/vue-admin-better/badge/star.svg?theme=gray)](https://gitee.com/chu1204505056/vue-admin-better) [![star](https://gitee.com/chu1204505056/vue-admin-better/badge/star.svg?theme=gray)](https://gitee.com/chu1204505056/vue-admin-better)
[![license](https://img.shields.io/github/license/chuzhixin/vue-admin-beautiful?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License) [![license](https://img.shields.io/github/license/zxwk1998/vue-admin-better?style=flat-square)](https://en.wikipedia.org/wiki/MIT_License)
--- ---
@ -17,7 +17,7 @@
基于 vite5.x + vue3.x + arco-design2.x 全新的前端框架 vue-admin-arco 欢迎点击查看或试用 👏🏻👏🏻👏🏻 基于 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) - [🌐 vue2.x 码云仓库地址](https://gitee.com/chu1204505056/vue-admin-better?_from=gitee_search)
@ -69,13 +69,13 @@
<table> <table>
<tr> <tr>
<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>
<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>
<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> </td>
</tr> </tr>
</table> </table>
@ -85,33 +85,33 @@
- [Admin Pro](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip) - [Admin Pro](https://gitee.com/chu1204505056/microsoft-store/raw/master/AdminPlus.zip)
- [Admin Plus](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 ```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 i --registry=http://mirrors.cloud.tencent.com/npm/
# 本地开发 启动项目 # 本地开发 启动项目
npm run serve 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 ```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 i --registry=http://mirrors.cloud.tencent.com/npm/
# 本地开发 启动项目 # 本地开发 启动项目
npm run dev 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 ```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 i --registry=http://mirrors.cloud.tencent.com/npm/
# 本地开发 启动项目 # 本地开发 启动项目
@ -133,10 +133,10 @@ npm run serve
- 如果您觉得 vue admin better 帮到了您 ,如果情况允许,您可以选择赞助以下项目 - 如果您觉得 vue admin better 帮到了您 ,如果情况允许,您可以选择赞助以下项目
<a title="vue" href="https://opencollective.com/vuejs" target="_blank"> <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>
<a title="element-plus" href="https://opencollective.com/element-plus" target="_blank"> <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>
<a title="ant-design-vue" href="https://opencollective.com/ant-design-vue" target="_blank"> <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"/> <img width="64px" src="https://images.opencollective.com/ant-design-vue/2ec179b/logo/256.png"/>
@ -195,15 +195,15 @@ npm run serve
## 🎨 Star ## 🎨 Star
[![Stargazers for vue-admin-better](https://reporoster.com/stars/chuzhixin/vue-admin-better)](https://github.com/chuzhixin/vue-admin-better/stargazers) [![Stargazers for vue-admin-better](https://reporoster.com/stars/zxwk1998/vue-admin-better)](https://github.com/zxwk1998/vue-admin-better/stargazers)
## ✨ Fork ## ✨ Fork
[![Forkers repo roster for vue-admin-better](https://reporoster.com/forks/chuzhixin/vue-admin-better)](https://github.com/chuzhixin/vue-admin-better/network/members) [![Forkers repo roster for vue-admin-better](https://reporoster.com/forks/zxwk1998/vue-admin-better)](https://github.com/zxwk1998/vue-admin-better/network/members)
## 🎉 功能地图 ## 🎉 功能地图
![img](https://gcore.jsdelivr.net/gh/chuzhixin/image/vip/flow.drawio.png) ![img](https://gcore.jsdelivr.net/gh/zxwk1998/image/vip/flow.drawio.png)
## 🗃️ 效果图 ## 🗃️ 效果图
@ -212,26 +212,26 @@ npm run serve
<table> <table>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
</table> </table>
@ -241,26 +241,26 @@ npm run serve
<table> <table>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
<tr> <tr>
<td> <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>
<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> </td>
</tr> </tr>
</table> </table>

View File

@ -7,11 +7,11 @@ touch .nojekyll
git init git init
git add -A git add -A
git commit -m 'deploy' 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-better.git" master:gh-pages
git push -f "https://${access_token}@gitee.com/chu1204505056/vue-admin-beautiful-element.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-beautiful/pages" start "https://gitee.com/chu1204505056/vue-admin-better/pages"
start "https://gitee.com/chu1204505056/vue-admin-beautiful-element/pages" start "https://gitee.com/chu1204505056/vue-admin-better-element/pages"
git push -f "https://${access_token}@github.com/chuzhixin/vue-admin-beautiful.git" master:gh-pages git push -f "https://${access_token}@github.com/zxwk1998/vue-admin-better.git" master:gh-pages
cd - cd -
exec /bin/bash exec /bin/bash

View File

@ -2,7 +2,7 @@
<a <a
aria-label="View source on Github" aria-label="View source on Github"
class="github-corner" class="github-corner"
href="https://github.com/chuzhixin/vue-admin-beautiful" href="https://github.com/zxwk1998/vue-admin-better"
target="_blank" target="_blank"
> >
<svg <svg

View File

@ -6,7 +6,7 @@ module.exports = {
const chalk = require('chalk') const chalk = require('chalk')
console.log( console.log(
chalk.green( chalk.green(
`> 欢迎使用vue-admin-bettergithub开源地址https://github.com/chuzhixin/vue-admin-better` `> 欢迎使用vue-admin-bettergithub开源地址https://github.com/zxwk1998/vue-admin-better`
) )
) )
console.log( console.log(

View File

@ -1,7 +1,7 @@
{ {
"name": "vue-admin-better", "name": "vue-admin-better",
"version": "2.5.0", "version": "2.5.5",
"author": "vue-admin-better", "author": "zxwk1998",
"participants": [], "participants": [],
"homepage": "https://chu1204505056.gitee.io/vue-admin-better", "homepage": "https://chu1204505056.gitee.io/vue-admin-better",
"scripts": { "scripts": {
@ -20,7 +20,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/chuzhixin/vue-admin-better.git" "url": "git+https://github.com/zxwk1998/vue-admin-better.git"
}, },
"gitHooks": { "gitHooks": {
"pre-commit": "lint-staged" "pre-commit": "lint-staged"

View File

@ -4,7 +4,7 @@ set -e
git init git init
git add -A git add -A
git commit -m '🎉 feat: init project' 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 exec /bin/bash

View File

@ -2,7 +2,7 @@ import request from 'axios'
export function getRepos(params) { export function getRepos(params) {
return request({ return request({
url: 'https://api.github.com/repos/chuzhixin/vue-admin-beautiful', url: 'https://api.github.com/repos/zxwk1998/vue-admin-better',
method: 'get', method: 'get',
params, params,
timeout: 10000, timeout: 10000,
@ -11,7 +11,7 @@ export function getRepos(params) {
export function getStargazers(params) { export function getStargazers(params) {
return request({ 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', method: 'get',
params, params,
timeout: 10000, timeout: 10000,

View File

@ -42,7 +42,7 @@
this.personalCenter() this.personalCenter()
break break
case 'github': case 'github':
window.open('https://github.com/chuzhixin/vue-admin-better') window.open('https://github.com/zxwk1998/vue-admin-better')
break break
case 'gitee': case 'gitee':
window.open('https://gitee.com/chu1204505056/vue-admin-better') window.open('https://gitee.com/chu1204505056/vue-admin-better')

View File

@ -81,7 +81,7 @@
created() { created() {
const handleTheme = () => { const handleTheme = () => {
this.handleOpenThemeBar() this.handleOpenThemeBar()
}; }
this.$baseEventBus.$on('theme', handleTheme) this.$baseEventBus.$on('theme', handleTheme)
const theme = localStorage.getItem('vue-admin-beautiful-theme') const theme = localStorage.getItem('vue-admin-beautiful-theme')
@ -95,8 +95,8 @@
} }
this.$once('hook:beforeDestroy', () => { this.$once('hook:beforeDestroy', () => {
this.$baseEventBus.$off('theme', handleTheme); this.$baseEventBus.$off('theme', handleTheme)
}); })
}, },
methods: { methods: {
...mapActions({ ...mapActions({
@ -145,7 +145,7 @@
location.reload() location.reload()
}, },
handleGetCode() { 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' let path = this.$route.path + '/index.vue'
if (path === '/vab/menu1/menu1-1/menu1-1-1/index.vue') { if (path === '/vab/menu1/menu1-1/menu1-1-1/index.vue') {
path = '/vab/nested/menu1/menu1-1/menu1-1-1/index.vue' path = '/vab/nested/menu1/menu1-1/menu1-1-1/index.vue'

View File

@ -221,7 +221,7 @@ export const asyncRoutes = [
meta: { title: '错误日志模拟', permissions: ['admin'] }, 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', name: 'ExternalLink',
meta: { meta: {
title: '外链', title: '外链',

View File

@ -1,5 +1,5 @@
/** /**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除 * @author zxwk1998 不想保留author可删除
* @description 判读是否为外链 * @description 判读是否为外链
* @param path * @param path
* @returns {boolean} * @returns {boolean}
@ -19,7 +19,7 @@ export function isPassword(str) {
} }
/** /**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除 * @author zxwk1998 不想保留author可删除
* @description 判断是否是字符串 * @description 判断是否是字符串
* @param str * @param str
* @returns {boolean} * @returns {boolean}
@ -29,7 +29,7 @@ export function isString(str) {
} }
/** /**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除 * @author zxwk1998 不想保留author可删除
* @description 判断是否是数组 * @description 判断是否是数组
* @param arg * @param arg
* @returns {arg is any[]|boolean} * @returns {arg is any[]|boolean}
@ -42,7 +42,7 @@ export function isArray(arg) {
} }
/** /**
* @author chuzhixin 1204505056@qq.com 不想保留author可删除 * @author zxwk1998 不想保留author可删除
* @description 判断是否是手机号 * @description 判断是否是手机号
* @param str * @param str
* @returns {boolean} * @returns {boolean}

View File

@ -49,7 +49,7 @@
color: '#1890FF', color: '#1890FF',
}, },
{ {
title: 'vue-admin-beautiful标星过1K', title: 'vue-admin-better标星过1K',
endTIme: '2020-03-31', endTIme: '2020-03-31',
percentage: 100, percentage: 100,
color: '#ffc069', color: '#ffc069',

View File

@ -32,7 +32,7 @@
<a href="https://vue-admin-beautiful.com/authorization" target="_blank"> <a href="https://vue-admin-beautiful.com/authorization" target="_blank">
<el-button style="margin-left: 10px" type="primary">Plus付费版本 购买源码 799</el-button> <el-button style="margin-left: 10px" type="primary">Plus付费版本 购买源码 799</el-button>
</a> </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> <el-button style="margin-left: 10px" type="warning">开源免费版</el-button>
</a> </a>
</td> </td>

View File

@ -4,9 +4,9 @@
<el-col :lg="24" :md="24" :sm="24" :xl="24" :xs="24"> <el-col :lg="24" :md="24" :sm="24" :xl="24" :xs="24">
<el-alert v-if="noticeList[0]" :closable="noticeList[0].closable"> <el-alert v-if="noticeList[0]" :closable="noticeList[0].closable">
<div style="display: flex; align-items: center; justify-content: center"> <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 <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" style="margin-right: 10px"
/> />
</a> </a>
@ -70,13 +70,13 @@
<el-button type="primary">QQ讨论群基础版文档</el-button> <el-button type="primary">QQ讨论群基础版文档</el-button>
</a> </a>
</el-popover> </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> <el-button type="warning">vue2.x版本 github下载源码点star</el-button>
</a> </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> <el-button type="warning">vue2.x版本 码云下载源码点star</el-button>
</a> </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> <el-button type="warning">vue3.x版本 github下载源码点star</el-button>
</a> </a>
<a @click="handleChangeTheme"> <a @click="handleChangeTheme">
@ -323,7 +323,7 @@
value: 6500, value: 6500,
}, },
{ {
name: 'chuzhixin', name: 'zxwk1998',
value: 6000, value: 6000,
}, },
{ {
@ -430,7 +430,7 @@
{ {
icon: 'laptop-code', icon: 'laptop-code',
title: '源码', title: '源码',
link: 'https://github.com/chuzhixin/vue-admin-better', link: 'https://github.com/zxwk1998/vue-admin-better',
color: '#b37feb', color: '#b37feb',
}, },
{ {

View File

@ -1,11 +1,5 @@
<template> <template>
<div class="login-container"> <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-row>
<el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24"> <el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24">
<div style="color: transparent">占位符</div> <div style="color: transparent">占位符</div>

View File

@ -28,8 +28,8 @@
return { return {
form: { form: {
payAccount: 'XXXXXXXXXXXXXXXX', payAccount: 'XXXXXXXXXXXXXXXX',
gatheringAccount: '1204505056@qq.com', gatheringAccount: '',
gatheringName: 'chuzhixin', gatheringName: 'zxwk1998',
price: '100', price: '100',
}, },
rules: { rules: {

View File

@ -1,12 +1,5 @@
<template> <template>
<div class="register-container"> <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-row>
<el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24"> <el-col :lg="16" :md="12" :sm="24" :xl="16" :xs="24">
<div style="color: transparent">占位符</div> <div style="color: transparent">占位符</div>

View File

@ -1,6 +1,6 @@
<template> <template>
<!-- js代码错误实时提醒测试 --> <!-- js代码错误实时提醒测试 -->
<div>{{ chuzhixinjiayou.chuzhixinjiayou }}</div> <div>{{ zxwk1998jiayou.zxwk1998jiayou }}</div>
</template> </template>
<script> <script>

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="errorLog-container"> <div class="errorLog-container">
<el-divider content-position="left">这里会在顶部navbar上模拟一个控制台错误日志</el-divider> <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" /> <error-test v-if="show" />
</div> </div>
</template> </template>

View File

@ -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-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)"> <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> </el-card>
<div class="icon-text"> <div class="icon-text">
{{ item }} {{ item }}
@ -89,7 +89,7 @@
this.total = totalCount this.total = totalCount
}, },
handleCopyIcon(index, event) { 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]}" />` const copyText = `<vab-colorful-icon icon-class="${this.queryIcon[index]}" />`
this.copyText = copyText this.copyText = copyText
clip(copyText, event) clip(copyText, event)

View File

@ -15,7 +15,7 @@
</li> </li>
<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>
<li>提供讨论群专属文档QQ群 9724353191139183756</li> <li>提供讨论群专属文档QQ群 9724353191139183756</li>
</ul> </ul>

View File

@ -18,7 +18,7 @@
<span>profile</span> <span>profile</span>
<el-button style="float: right; padding: 3px 0" type="text" @click="handleProfile">重载</el-button> <el-button style="float: right; padding: 3px 0" type="text" @click="handleProfile">重载</el-button>
</div> </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-card>
</el-col> </el-col>
<el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24"> <el-col :lg="8" :md="12" :sm="24" :xl="8" :xs="24">

View File

@ -26,7 +26,7 @@ const WebpackBar = require('webpackbar')
const dayjs = require('dayjs') const dayjs = require('dayjs')
const date = dayjs().format('YYYY_M_D') const date = dayjs().format('YYYY_M_D')
const time = dayjs().format('YYYY-M-D HH:mm:ss') 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_AUTHOR = author || 'https://vue-admin-beautiful.com'
process.env.VUE_APP_UPDATE_TIME = time process.env.VUE_APP_UPDATE_TIME = time
process.env.VUE_APP_VERSION = version process.env.VUE_APP_VERSION = version