From f9cda2e8c0eb173fab17db84852fe411294d0e63 Mon Sep 17 00:00:00 2001 From: vben Date: Mon, 28 Jun 2021 00:22:34 +0800 Subject: [PATCH] chore: release 2.5.2 --- CHANGELOG.en_US.md | 12 +++++++ CHANGELOG.zh_CN.md | 6 +++- package.json | 12 +++---- src/router/helper/routeHelper.ts | 2 -- src/views/sys/login/Login.vue | 26 +++++++-------- src/views/sys/login/LoginFormTitle.vue | 2 +- tailwind.config.js | 6 ++-- yarn.lock | 46 ++++++++++++++++---------- 8 files changed, 69 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.en_US.md b/CHANGELOG.en_US.md index 5cd6c9c6..b6dd5969 100644 --- a/CHANGELOG.en_US.md +++ b/CHANGELOG.en_US.md @@ -1,3 +1,15 @@ +## 2.5.2(2021-06-27) + +### ⚡ Performance Improvements + +- **Icon** Remove the global registration of Icon components to prevent hot update issues under certain circumstances + +### ✨ Features + +- **Menu** Added `permissionMode=PermissionModeEnum.ROUTE_MAPPING` mode + - The project is changed to this mode by default, and the original menu file is deleted + - If you have written the menu before, you can change to `PermissionModeEnum.ROLE` mode + ## 2.5.1(2021-06-26) ### ⚡ Performance Improvements diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index febf6f3b..e1ac555b 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -1,4 +1,4 @@ -## Wip +## 2.5.2(2021-06-27) ### ⚡ Performance Improvements @@ -10,6 +10,10 @@ - 项目默认改为该模式,删除原有菜单文件 - 如果之前已经写好了菜单,可以更改为`PermissionModeEnum.ROLE`模式即可 +### 🐛 Bug Fixes + +- **Drawer** 修复`visible`状态异常 + ## 2.5.1(2021-06-26) ### ⚡ Performance Improvements diff --git a/package.json b/package.json index 02f85a04..e9a4e4ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vben-admin", - "version": "2.5.1", + "version": "2.5.2", "author": { "name": "vben", "email": "anncwb@126.com", @@ -38,7 +38,7 @@ "@logicflow/core": "^0.5.0", "@logicflow/extension": "^0.5.0", "@vueuse/core": "^5.0.3", - "@zxcvbn-ts/core": "^0.3.0", + "@zxcvbn-ts/core": "^1.0.0-beta.0", "ant-design-vue": "2.2.0-beta.6", "axios": "^0.21.1", "codemirror": "^5.62.0", @@ -60,13 +60,13 @@ "vue-i18n": "9.1.6", "vue-json-pretty": "^2.0.2", "vue-router": "^4.0.10", - "vue-types": "^3.0.2", + "vue-types": "^4.0.0", "xlsx": "^0.17.0" }, "devDependencies": { "@commitlint/cli": "^12.1.4", "@commitlint/config-conventional": "^12.1.4", - "@iconify/json": "^1.1.360", + "@iconify/json": "^1.1.361", "@purge-icons/generated": "^0.7.0", "@types/codemirror": "^5.60.1", "@types/crypto-js": "^4.0.1", @@ -76,7 +76,7 @@ "@types/jest": "^26.0.23", "@types/lodash-es": "^4.17.4", "@types/mockjs": "^1.0.3", - "@types/node": "^15.12.4", + "@types/node": "^15.12.5", "@types/nprogress": "^0.2.0", "@types/qrcode": "^1.4.0", "@types/qs": "^6.9.6", @@ -110,7 +110,7 @@ "lint-staged": "^11.0.0", "npm-run-all": "^4.1.5", "postcss": "^8.3.5", - "prettier": "^2.3.1", + "prettier": "^2.3.2", "pretty-quick": "^3.1.1", "rimraf": "^3.0.2", "rollup-plugin-visualizer": "5.5.0", diff --git a/src/router/helper/routeHelper.ts b/src/router/helper/routeHelper.ts index 507f21a5..f37cc421 100644 --- a/src/router/helper/routeHelper.ts +++ b/src/router/helper/routeHelper.ts @@ -65,8 +65,6 @@ function dynamicImport( // Turn background objects into routing objects export function transformObjToRoute(routeList: AppRouteModule[]): T[] { - console.log(routeList); - routeList.forEach((route) => { const component = route.component as string; if (component) { diff --git a/src/views/sys/login/Login.vue b/src/views/sys/login/Login.vue index 2e147f6b..ab5b157c 100644 --- a/src/views/sys/login/Login.vue +++ b/src/views/sys/login/Login.vue @@ -1,7 +1,7 @@