From 70f089acf7a2241469183d7364410912389d6d7f Mon Sep 17 00:00:00 2001
From: lyt-Top <1105290566@qq.com>
Date: Wed, 14 Apr 2021 23:00:38 +0800
Subject: [PATCH 001/183] =?UTF-8?q?'admin-21.04.14:=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E6=9C=80=E6=96=B0=E4=BE=9D=E8=B5=96=E3=80=81=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?eslint=E8=A7=84=E5=88=99'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.eslintrc.js | 1 +
package.json | 14 +++++++-------
src/router/index.ts | 2 +-
src/views/layout/footer/index.vue | 2 +-
4 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/.eslintrc.js b/.eslintrc.js
index ea58048..5916d53 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -42,6 +42,7 @@ module.exports = {
'vue/no-template-key': 'off',
'vue/no-v-html': 'off',
'vue/comment-directive': 'off',
+ 'vue/no-parsing-error': 'off',
'no-use-before-define': 'off',
'no-restricted-globals': 'off',
'no-restricted-syntax': 'off',
diff --git a/package.json b/package.json
index 8fb109c..5eee0e6 100644
--- a/package.json
+++ b/package.json
@@ -7,14 +7,14 @@
"lint-fix": "eslint --fix --ext .js --ext .jsx --ext .vue src/"
},
"dependencies": {
- "@antv/g6": "^4.2.5",
+ "@antv/g6": "^4.2.6",
"axios": "^0.21.1",
"clipboard": "^2.0.8",
"countup.js": "^2.0.7",
"cropperjs": "^1.5.11",
"echarts": "^5.0.2",
"echarts-wordcloud": "^2.0.0",
- "element-plus": "^1.0.2-beta.39",
+ "element-plus": "^1.0.2-beta.40",
"mitt": "^2.1.0",
"nprogress": "^0.2.0",
"print-js": "^1.6.0",
@@ -22,7 +22,7 @@
"screenfull": "^5.1.0",
"sortablejs": "^1.13.0",
"vue": "^3.0.5",
- "vue-i18n": "^9.1.3",
+ "vue-i18n": "^9.1.4",
"vue-router": "^4.0.2",
"vue-web-screen-shot": "^1.1.8",
"vuex": "^4.0.0-rc.2",
@@ -34,13 +34,13 @@
"@types/node": "^14.14.37",
"@types/nprogress": "^0.2.0",
"@types/sortablejs": "^1.10.6",
- "@typescript-eslint/eslint-plugin": "^4.21.0",
- "@typescript-eslint/parser": "^4.21.0",
+ "@typescript-eslint/eslint-plugin": "^4.22.0",
+ "@typescript-eslint/parser": "^4.22.0",
"@vitejs/plugin-vue": "^1.2.1",
"@vue/compiler-sfc": "^3.0.11",
"dotenv": "^8.2.0",
- "eslint": "^7.23.0",
- "eslint-plugin-vue": "^7.8.0",
+ "eslint": "^7.24.0",
+ "eslint-plugin-vue": "^7.9.0",
"prettier": "^2.2.1",
"sass": "^1.32.8",
"sass-loader": "^11.0.1",
diff --git a/src/router/index.ts b/src/router/index.ts
index d4bd539..376cc04 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -750,7 +750,7 @@ export const dynamicRoutes = [
component: () => import('/@/views/layout/routerView/parent.vue'),
meta: {
title: 'message.router.layoutIfameView',
- isLink: 'https://gitee.com/lyt-top/vue-admin-wonderful',
+ isLink: 'https://gitee.com/lyt-top/vue-next-admin',
isHide: false,
isKeepAlive: false,
isAffix: true,
diff --git a/src/views/layout/footer/index.vue b/src/views/layout/footer/index.vue
index 85ce746..9021dff 100644
--- a/src/views/layout/footer/index.vue
+++ b/src/views/layout/footer/index.vue
@@ -2,7 +2,7 @@
--
Gitee
From b1cf16aa8c13d2d3edb08d5f22ea9c1cd5a54c83 Mon Sep 17 00:00:00 2001
From: lyt <1105290566@qq.com>
Date: Thu, 15 Apr 2021 14:16:09 +0800
Subject: [PATCH 002/183] =?UTF-8?q?'admin-21.04.15:=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E6=96=87=E6=A1=88=E3=80=81=E9=93=BE=E6=8E=A5=E7=AD=89'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 56 ++++++++++++--------------------------
src/views/personal/mock.ts | 31 ++++++++++++---------
2 files changed, 36 insertions(+), 51 deletions(-)
diff --git a/README.md b/README.md
index 00b5b99..d0f266b 100644
--- a/README.md
+++ b/README.md
@@ -10,11 +10,11 @@
-
-
-
-
+
+
+
+
@@ -26,28 +26,20 @@
#### 线上预览
-###### vue3.x 版本
-
-- vue-next-admin 版本预览 https://lyt-top.gitee.io/vue-next-admin-preview/#/login
-
-###### vue2.x 版本
-
-- pro 版本预览 http://lyt-top.gitee.io/vue-admin-wonderful-preview
-- fashion 版本预览 http://lyt-top.gitee.io/vue-admin-wonderful-fashion-preview
-- classic 版本预览 http://lyt-top.gitee.io/vue-admin-wonderful-classic-preview
-- elegant 版本预览 http://lyt-top.gitee.io/vue-admin-wonderful-elegant-preview
-- strange 版本预览 http://lyt-top.gitee.io/vue-admin-wonderful-strange-preview
+- vue3.x 版本预览(vue-next-admin) https://lyt-top.gitee.io/vue-next-admin-preview/#/login
+- vue2.x 版本预览(vue-prev-admin)https://lyt-top.gitee.io/vue-prev-admin-preview/#/login
#### 代码仓库
- vue3.x 版本 https://gitee.com/lyt-top/vue-next-admin
-- vue2.x 版本 https://gitee.com/lyt-top/vue-admin-wonderful
+- vue2.x 版本 https://gitee.com/lyt-top/vue-next-admin/tree/vue-prev-admin
-#### 安装 cnpm
+#### 安装 cnpm、yarn
- 复制代码(桌面 cmd 运行) `npm install -g cnpm --registry=https://registry.npm.taobao.org`
+- 复制代码(桌面 cmd 运行) `npm install -g yarn`
-#### 使用说明(vue3.x 版本)
+#### 使用说明
```bash
# 克隆项目
@@ -66,28 +58,18 @@ cnpm run dev
cnpm run build
```
-#### 使用说明(vue2.x 版本)
-
-```bash
-# 克隆项目
-git clone https://gitee.com/lyt-top/vue-admin-wonderful.git
-
-# 进入项目
-cd vue-admin-wonderful
-
-# 安装依赖
-cnpm install
-
-# 运行项目
-cnpm run serve
+#### git 命令
-# 打包发布
-cnpm run build
-```
+- 在本地新建一个分支:`git branch newBranch`
+- 切换到你的新分支:`git checkout newBranch`
+- 将新分支发布在 github、gitee 上:`git push origin newBranch`
+- 在本地删除一个分支:`git branch -d newBranch`
+- 在 github 远程端删除一个分支:`git push origin :newBranch (分支名前的冒号代表删除)`
+- 注意删除远程分支后,如果有对应的本地分支,本地分支并不会同步删除!
#### 学习交流加 QQ 群
-- 加群下载基础模板、查看开发文档、vue-next-admin 开发文档正在编写中...
+- 查看开发文档、vue-next-admin 开发文档正在编写中...
- 群号码:665452019
@@ -130,6 +112,4 @@ cnpm run build
#### 其他事项
-- vue3.x vue-next-admin 版本,基于 vue3.x + CompositionAPI + typescript + vite + element plus。
-- vue2.x vue-prev-admin 版本,基于 vue2.x + element ui。
- 喜欢用就帮忙 gitee star 下,不喜欢用也没关系,出来打工、创业,大家都不容易,感谢大家的支持,谢谢!
diff --git a/src/views/personal/mock.ts b/src/views/personal/mock.ts
index 7cb8dd7..a2cbee8 100644
--- a/src/views/personal/mock.ts
+++ b/src/views/personal/mock.ts
@@ -1,25 +1,30 @@
// 消息通知
export const newsInfoList: Array