Skip to content

@PanJiaChen PanJiaChen released this May 27, 2019 · 5 commits to master since this release

🐛 修复

  • 修复 charts 图表 在 keep-alive中的 bug(#2119)
  • 修复 同时引用多个 Tinymce 富文本 时的 bug(#2152)

优化

  • 添加 autoprefixerdevDependencies,避免有些情况下漏装的问题(#2097 by @bpzhang )
  • 优化 request.js 的错误处理 (#2160 @gaoshijun1993 )
  • dev proxy 的 target 修改为 127.0.0.1,避免修改了localhost的指向后,代理失效的问题(#2142)
  • Tinymce 富文本增加 language 选项(#2159)

🐛 Bugs

  • Fixed bug when charts in keep-alive (#2119)
  • Fixed bug when init multiple tinymces at the same time (#2152)

Optimization

  • Add autoprefixer to devDependencies to avoid the problem of missing(#2097 by @bpzhang )
  • Optimized error handling for request.js (#2160 @gaoshijun1993 )
  • The target of the dev proxy is modified to 127.0.0.1, to avoid some people modifying the localhost pointer, the proxy is invalid(#2142)
  • Tinymce add language option(#2159)
Assets 2

@PanJiaChen PanJiaChen released this May 21, 2019 · 16 commits to master since this release

🎉 新功能

  • 新增 Spanish 文档 (#2070 by @yamelsenih )
  • vuex store 自动导入时支持嵌套文件夹 (#2047 by @yamelsenih )
  • svg 组件支持 通过外部 url 的方式引入 svg (#2052 )
  • 登录时支持携带 query (#2013 )

🐛 修复

  • 修复了 Dashboard 图表在移动端展示问题(#2060)
  • 修复重定向页面会在 vue-devtool中出现 bug(#2066 )
  • 修复切换用户权限时的 bug (#2072 )

优化

  • Tinymce 富文本优化为按需加载的形式 (#2102 )
  • Error Log 组件新增 清除 log 按钮(#2065 by @toruksmakto )
  • 优化 Right Panel 组件样式 (#2101 by @Liugq5713 )
  • 个人详情页 移动端适配(#2020)
  • 默认情况在生产环境中使用 MockJS模拟数据。若有需求请自己移除。(4ef0782)
  • 当页面跳转至 redirect的时候,面包屑不在变化(#2086 )。

⚠️ Breaking Changes

  • generate postcss.config.js instead of .postcssrc.js,与vue-cli保持一致

🎉 Features

🐛 Bugs

  • Fixed Dashboard chart showing issues on mobile#2060)
  • Fixed the redirect page will cause a bug in vue-devtool(#2066 )
  • Fixed bug when switching user permissions (#2072 )

Optimization

  • Dynamic import Tinymce(#2102 )
  • Error Log component added Clear log button(#2065 by @toruksmakto )
  • Optimize the right panel component style (#2101 by @Liugq5713 )
  • Profile page mobile adapter(#2020)
  • By default, MockJS is used to simulate data in a production environment. Please remove it if you need it.(4ef0782)
  • When the page jumps to redirect, the breadcrumbs are not changing (#2086).

⚠️ Breaking Changes

  • generate postcss.config.js instead of .postcssrc.js, consistent with vue-cli
Assets 2

@PanJiaChen PanJiaChen released this May 5, 2019 · 39 commits to master since this release

🎉 新功能

  • 页面title修改为动态的,会随着页面的变化而变化,不再是写死的 (#1910 by @ren8179 )
  • 新增 profile 个人详情页 (#1953 by @tuandm )
  • 国际化新增了日语 (#1999 by @linzhengen )

🐛 修复

优化

  • 全面优化了代码注释
  • 优化了部分全局 css
  • 为公用函数增加了JSDoc注释 (#1883 by @tuandm )
  • Tinymce 增加了 width 参数 (#1952 by @ansonhorse )
  • login 页面的 input 增加 tabindex 使其支持 tab 切换 (#1933 by @toruksmakto )
  • 优化了设置了 fixedHeader 情况下滚动效果 (e8e6c7e)

⚠️ Breaking Changes

  • master 分支将默认不在支持国际化,所有国际化内容移至 i18n 分支 (#1828)
  • 修改Breadcrumb的参数名 noredirect => noRedirect(4ee334a)
  • 全局优化了文件名 (#1884) 详情命名规则见文档
  • Tinymce 改用 cdn 引入的方式 (#1996 )

🎉 Features

  • The title of the page is now dynamic and will change as the page changes. It is no longer written dead. (#1910 by @ren8179 )
  • Add profile profile page (#1953 by @tuandm )
  • i18n added Japanese lang (#1999 by @linzhengen )

🐛 Bugs

Optimization

  • Optimized code comments
  • Optimized some global css
  • Added JSDoc comment to global function (#1883 by @tuandm )
  • Tinymce added the width prop (#1952 by @ansonhorse )
  • The input of the login page adds tabindex to support tab switching. (#1933 by @toruksmakto )
  • Optimized the scrolling effect when fixedHeader is set (e8e6c7e)

⚠️ Breaking Changes

  • The master branch will not support i18n by default, and i18n will be moved to i18n branch (#1828)
  • Modify the parameter name of Breadcrumb noredirect => noRedirect(4ee334a)
  • Globally optimized file name (#1884) For details of naming rules, see Documentation
  • Import Tinymce from cdn (#1996 )
Assets 2

@PanJiaChen PanJiaChen released this Apr 10, 2019 · 80 commits to master since this release

🎉 新功能

  • 修改 vuex 模块为自动导入(#1815 by @Estelle00 )
  • 新增 mock-server 支持热更新 (#1850 )
  • 侧边栏新增 高亮选项 activeMenu,可手动配置路由需要高亮的侧边栏(#1833 )

🐛 修复

  • 修复了侧边栏 scrollbar 滚动慢和定位问题(#1853 )
  • 修复了 Guide demo 页面的 bug (184125b , 25414f1)
  • 修复了 在设置了 FixedHeader 情况下,页面布局的 bug(a8c6e11)
  • 修复 tags-view 关闭最后一个页面是首页的时候出现的 bug(#1866 by @de1ck )
  • 修复了 tags-view 的层级问题(c923726)
  • 修复了 error-log 的层级问题(#1844 by @ansonhorse )
  • 修复了 drag-list demo 在 Firefox 下的 bug (#1841)
  • 修复了在使用cnpm安装模块后,optimization.splitChunks 失效的问题(c833cb6)
  • 修复了侧边栏 Sidebar 在设置了alwaysShow: true 外链跳转失效问题 (#1870)

优化


🎉 Features

  • Modify the vuex module to auto import(#1815 by @Estelle00 )
  • Added mock-server support for hot reload (#1850 )
  • Sidebar adds a highlight option activeMenu to manually configure the route to highlight in the sidebar (#1833)

🐛 Bugs

  • Fixed sidebar scrollbar scrolling slow and positioning problem(#1853 )
  • Fixed bug on Guide demo page(184125b , 25414f1)
  • Fixed style bugs with FixedHeader set(a8c6e11)
  • Fixed tags-view the bug that occurred when closing the last page was the home page (#1866 by @de1ck )
  • Fixed a problem with the tags-view z-index(c923726)
  • Fixed a problem with the error-log z-index(#1844 by @ansonhorse )
  • Fixed bug with drag-list demo in Firefox (#1841)
  • Fixed optimization.splitChunks failed after installing modules with cnpm(c833cb6)
  • Fixed Sidebar setting alwaysShow: true external link bug(#1870)

Optimization

  • Login page, add capitalization prompt when write password (#1845 by @mayunhai )
Assets 2

@PanJiaChen PanJiaChen released this Apr 1, 2019 · 107 commits to master since this release

v4.0版本正式发布。

重大改变

  • 基于 vue-cli@3进行构建

  • 调整了项目的目录结构

    • mock 文件移至根目录下
    • layout 从 views 文件夹下移至 src 下
  • 使用了最新的 eslint-plugin-vue@5,重新格式化了代码

  • 现在可以在不刷新页面的情况下 remove routes

  • 更新了husky@1.3.1

  • 增加了 jest 单元测试

  • 新增了 npm run previewnpm run test:uninpm run new指令

  • 使用了新的 mock 方式,解决了之前 mock 若干问题

  • vuex 启用了 模块化 namespaced

  • 新增了 settings.js,让 sidebarLogo、fixedHeader、TagsViews 等都可配置

  • 新增了 sidebar logo

  • 重构了侧边栏 sidebar 代码逻辑,并且优化了样式和展开收起动画,同时让二级菜单内容过多时支持滚动

  • 使用了 async/await 替代了部分 promise 代码

  • 增加了 header-search 组件 #1591

  • 增加了 fearure[TagsView]: add affix porperty #1577

  • 移除了 tree-table 组件。 element-ui v2.7.0 开始支持tree-table,所以不再独立维护。

  • 增加了权限配置 demo

  • 增加了导出多级表头 excel 的 demo

  • feature[Directive]: add auto-height table directive

RoadMap

  • 更好的多级页面的缓存:目前页面的缓存基于keep-alive,但当三级路由嵌套的情况下,支持的并不好。之后探索一个更好的解决方案。
  • 单元测试:当项目大了之后,没有单元测试维护起来还是有些吃力的。
    之后会慢慢补上 unit-test 的测试用例。 酌情加上一些e2e-test的例子。
  • 去国际化:其实大部分人是不需要国际化的,默认情况下移除国际化。单独开一个国际化分支。
  • 适配 webpack5:webpack5 还是解决了不少之前的痛点的,正式版发布之后会进行升级
  • vue 3.0: 等官方发布之后会基于新版本进行重构

The v4.0 version was officially released.

Breaking Changes

  • Build based on vue-cli@3

  • Adjusted the directory structure

    • Mock file move to root directory
    • Layout from the views folder to src
  • Reformatted the code with the latest eslint-plugin-vue@5

  • You can now remove routes without refreshing the page.

  • Updated husky@1.3.1

  • Added jest unit test

  • Added npm run preview, npm run test:uni, npm run new directive

  • Using the new mock method, solved some problems with the previous mock

  • vuex use namespaced

  • Added settings.js to make sidebarLogo, fixedHeader, TagsViews, etc. configurable

  • Add sidebar logo

  • Refactored the sidebar code logic and optimized the style and unfolding the animation

  • Use Async/await

  • Add header-search #1591

  • Add fearure[TagsView]: add affix porperty #1577

  • Remove tree-table. element-ui v2.7.0 started to support tree-table, so it is no longer maintained independently.

  • Added permission configuration demohttps://github.com/PanJiaChen/vue-element-admin/commit/c963f56686b9731a517a17c4d562bc3da0fa3771

  • Added demo to export multi-level header excel

  • feature[Directive]: add auto-height table directive #1702 (by @yuntao1997 )

RoadMap

  • Better multi-level page caching: The current page cache is based on keep-alive, but when the three-level routing is nested, the support is not good. Then explore a better solution.
  • Unit testing: When the project is big, it is still a little difficult to maintain without unit testing.
    The unit-test test case will be added slowly. Add some examples of e2e-test as appropriate.
  • Remove i18n: In fact, most people do not need to be i18n. Open a i18n branch separately.
  • Adapting webpack5: webpack5 still solves a lot of pain points before, the upgrade will be upgraded after the official version is released.
  • vue 3.0: vue 3.0: Refactoring based on the new version after official release
Assets 2

@PanJiaChen PanJiaChen released this Mar 28, 2019 · 110 commits to master since this release

注意:这是 v4.0 版本之前最后的一个版本更新了。之后除非有重大bug,不然 v3.x.x版本将不再继续迭代。

Note: This is the last version update before the v4.0 version. After that, unless there is a major bug, the v3.x.x version will not continue to iterate.

Assets 2

重大改变

  • 基于 vue-cli@3进行构建

  • 调整了项目的目录结构

    • mock 文件移植根目录下
    • layout 从 views 文件夹下移植 src 下
  • 使用了最新的 eslint-plugin-vue@5,重新格式化了代码

  • 更新了husky@1.3.1

  • 增加了 jest 单元测试

  • 新增了 npm run previewnpm run test:uninpm run new指令

  • 使用了新的 mock 方式

  • vuex 启用了 模块化 namespaced

  • 新增了 settings,让 sidebarLogo、fixedHeader、TagsViews 等都可配置

  • 新增了 sidebar logo

  • 重构了侧边栏 sidebar 代码逻辑,并且优化了样式和展开收起动画,同时让二级菜单内容过多时支持滚动

  • 使用了 async/await 替代了部分 promise 代码

  • 增加了 header-search 组件 #1591

  • 增加了 fearure[TagsView]: add affix porperty #1577

  • 重构了 tree-table 组件 (by @Liugq5713)

  • 增加了权限配置 demo c963f56 (by @gaoshijun1993 )

  • 增加了导出多级表头 excel 的 demo 763b31d (by @llccing)

  • feature[Directive]: add auto-height table directive #1702 (by @yuntao1997 )

小修复和优化

  • 修复了 DndList #1527
  • 修复了 ThemePicker #1517
  • 优化了 移动端的兼容性 #1567
  • 优化了 screen-full 全屏组件 0fed69f
  • fix[Sidebar]: fixed infinite loop bug #1333 (by @frank10000 )
  • fix[Sticky]: fixed bug when set stickyTop (by @Mrli2016)
  • fix[Waves-Directive]: fixed v-waves does not support update #1705 (by @jsjzh)

总结来说:就是 4.0 版本改了很多东西,是一次不兼容更新。

Assets 2

@PanJiaChen PanJiaChen released this Dec 31, 2018 · 186 commits to master since this release

  • 🎉 feature[Component]: 新增 tui.editor 组件 #1374
  • 🎉 feature[PDF]: 新增 PDF demo #1469
  • 🎉 feature[Breadcrumb]: 新增 Breadcrumb 面包屑 隐藏 option #1442
  • perf[avatar]: 优化手机端导航栏头像样式 #1300 (by @jaysunxiao)
  • perf[style]: 使用 webpack alias 替代应变发 css 地址(by @samuelchlui)
  • perf[chore]: 升级 vue-router 来修复 url 地中含有中文字符的 bug #1362
  • perf[ScrollPane]: 优化 moveToTarget code #1460
  • perf[Sidebar]: 优化 sidebar store
  • refactor[login]: 重构 login page style #1474
  • 🐛 fix[Charts]: 修复 charts resize mixins bug #1285 (by @LarchLiu)
  • 🐛 fix[Breadcurmb]: 修复 router-link bug
  • 🐛 fix[Breadcurmb]: 修复 pathCompile bug
  • 🐛 fix[Guide-Page]: 修复 guide page style bug #1391
  • 🐛 fix[Tinymce]: 修复 fullScreen bug #1400
  • 🐛 fix[Example]: 新增 <el-form-item> wrapper for validate #1428 (by @jingyulong)

  • 🎉 feature[Component]: add tui.editor #1374
  • 🎉 feature[Breadcrumb]: add hide Breadcrumb option #1442
  • 🎉 feature[PDF]: add PDF demo #1469
  • perf[avatar]: minimize the selected area of avatar on the mobile phone #1300 (by @jaysunxiao)
  • perf[style]: use webpack alias instead of hard code src path (by @samuelchlui)
  • perf[chore]: update vue-router to fixed url path for non ascii urls #1362
  • perf[ScrollPane]: refine moveToTarget code #1460
  • perf[Sidebar]: refine sidebar store
  • refactor[login]: refactor login page style #1474
  • 🐛 fix[Charts]: fixed charts resize mixins bug #1285 (by @LarchLiu)
  • 🐛 fix[Breadcurmb]: fixed router-link bug
  • 🐛 fix[Breadcurmb]: fixed pathCompile bug
  • 🐛 fix[Guide-Page]: fixed guide page style bug #1391
  • 🐛 fix[Tinymce]: fixed fullScreen bug #1400
  • 🐛 fix[Example]: add <el-form-item> wrapper for validate #1428 (by @jingyulong)
Assets 2

@PanJiaChen PanJiaChen released this Oct 26, 2018 · 214 commits to master since this release

  • 🎉 feature: 新增利用 table 表头排序的 demo (#1236)

  • 🎉 feature: 新增可拖拽 select 组件 (#1249)

  • 🐛 fixed[TagsView]: 修复 openMenu 在边界情况下的展示问题 (#1256)

Next

下一次发布应该就是 v4.0 版本了,完全基于 vue-cli@3.0 进行构建,并添加了配置项功能,用户可自由选择是否需要 TagsView,默认语言等功能,并开始逐步补齐单元测试。

v3.9.x 版本应该还会并行维护一段时间,照顾那些暂时不能升级的用户


  • 🎉 feature: add an example of sort data by table (#1236)

  • 🎉 feature: add drag select component (#1249)

  • 🐛 fixed[TagsView]: fix openMenu boundary display bug (#1256)

Next

The next release should be v4.0 version, built entirely based on vue-cli@3.0, and added configuration, users can freely choose whether they need TagsView, default language and other settings, and start to gradually complete unit test.

The v3.9.x version should also be maintained in parallel for a period of time, taking care of users who are temporarily unable to upgrade.

Assets 2

@PanJiaChen PanJiaChen released this Oct 19, 2018 · 219 commits to master since this release

  • 🎉 demo 支持西班牙语 #1196 (by @rmenor)
  • 🎉 feature[Pagination]: 新增了 Pagination 分页组件 #1213
  • 🐛 fix[MockJS]: 修复在使用 mockjs 时,跨域请求不能携带 cookie 的问题 #1194 (by @Aysnine )
  • 🐛 fix[Sidebar]: 修复跳转外链地址不支持中文的 bug #1182
  • 🐛 fix[TagsView]: 修复更新 tag title 的 bug #1223

  • 🎉 support Spanish #1196 (by @rmenor)
  • 🎉 feature[Pagination]: add Pagination component #1213
  • 🐛 fix[MockJS]: fix problem where cross-domain requests cannot carry cookie when using mockjs #1194 (by @Aysnine )
  • 🐛 fix[Sidebar]: fix jump outer link address does not support Chinese #1182
  • 🐛 fix[TagsView]: fixed update tags title demo bug #1223
Assets 2
You can’t perform that action at this time.