4.3.1
版本发布时间: 2020-06-18 21:04:37
PanJiaChen/vue-element-admin最新发布版本:4.4.0(2020-06-21 21:42:12)
:tada: 新功能
- 侧边栏 icon 支持 el-icon,在声明路由时直接使用 icon class 即可,例如:
meta: {
title: 'Example',
icon: 'example'
icon: 'el-icon-s-help' //demo
},
:bug: 修复
- 修复
param2Obj
函数在参数中出现==
时的 bug (#3100 by @mayunhai) - 修复
v-permission
不支持动态设置权限的 bug (#3251)
:sparkles: 优化
- chore: 在 webpack 构建时开启
preload
,提高首页加载速度(https://github.com/PanJiaChen/vue-element-admin/commit/0bf61aac535b7799a0f17573741fee507003a7e4) - refactor: 修改所有 mock 文件为 commonjs,移除
@babel/register
(https://github.com/PanJiaChen/vue-element-admin/commit/d3bd933a8e314e5e51d48125dbcda9e3df8ee673) - 移除
package.json
中没有依赖到的showdown
(https://github.com/PanJiaChen/vue-element-admin/commit/7702b3d809a312feb2a9eb7c7a70fef3ea0628b8 by @Silentdoer) - 更新
element-ui
至 2.13.2 版本
:tada: Features
- The sidebar icon supports el-icon, just use the icon class when declaring the route, for example:
meta: {
title: 'Example',
icon: 'example'
icon: 'el-icon-s-help' //demo
},
:bug: Bugs
- Fix the bug when
param2Obj
function appears with==
in the parameter (#3100 by @mayunhai) - Fix the bug that
v-permission
does not support setting permissions dynamically (#3251)
:sparkles: Optimization
- chore: Turn on
preload
during webpack build to increase the homepage loading speed(https://github.com/PanJiaChen/vue-element-admin/commit/0bf61aac535b7799a0f17573741fee507003a7e4) - refactor: Modify all mock files to commonjs, remove
@babel/register
(https://github.com/PanJiaChen/vue-element-admin/commit/d3bd933a8e314e5e51d48125dbcda9e3df8ee673) - Remove
showdown
which is not dependent onpackage.json
(https://github.com/PanJiaChen/vue-element-admin/commit/7702b3d809a312feb2a9eb7c7a70fef3ea0628b8 by @Silentdoer) - Update
element-ui
to version 2.13.2