Commit Graph

682 Commits

Author SHA1 Message Date
花裤衩 be7ec4c0ff
docs: improve code comments (#1911) 2019-04-16 11:20:13 +08:00
非空 26d0f40df2 feature: change page title when route change (#1910) 2019-04-15 11:58:43 +08:00
linfei 14580da5b3 perf[Breadcrumb]: revise the breadcrumb navigation of permission and zip (#1908) 2019-04-15 10:31:06 +08:00
花裤衩 fdea6c684a
refactor: standardized files name (#1884)
style-guide: https://panjiachen.github.io/vue-element-admin-site/guide/advanced/style-guide.html#style-guide
2019-04-12 17:13:27 +08:00
Pan a6be6af46d perf: set private property names for vue
https://vuejs.org/v2/style-guide/index.html#Private-property-names-essential
2019-04-12 10:53:12 +08:00
Tuan Duong d0651ad2f2 perf: add jsdoc for utils and format some code (#1883) 2019-04-11 10:41:36 +08:00
Pan 035c7d78f1 docs: change some http links to https 2019-04-11 09:42:44 +08:00
花裤衩 9cba45e971
fix[Sidebar]: fixed external link bug (#1870) 2019-04-10 10:12:16 +08:00
derrick b627d3d0ba fix[TagsView]: fixed close last page bug(#1866) 2019-04-09 12:56:57 +08:00
花裤衩 8f45dbe328
feature[Icons]: add element-ui icons demo (#1865) 2019-04-09 09:58:08 +08:00
Pan afb62edc58 fix[Sidebar]: fixed sidebar background css bug 2019-04-08 18:10:41 +08:00
MaYuanhai 0358667a73 perf[Login]: password input add caps tooltip (#1845) 2019-04-08 14:13:07 +08:00
花裤衩 e3b6602bbf
fix[Sidebar]: fixed sidebar scrollbar bug (#1853) 2019-04-08 13:02:41 +08:00
花裤衩 79e2a604af
feature[Sidebar]: add activeMenu option (#1833) 2019-04-08 12:58:33 +08:00
Pan 083a4ada9d perf[request.js]: optimize error message 2019-04-08 11:08:06 +08:00
花裤衩 f11839c8a4
docs: refine i18n (#1848) 2019-04-07 23:10:14 +08:00
anson 7492e2097f fix[ErrorLog]: fixed error log dialog z-index bug (#1844)
https://github.com/PanJiaChen/vue-element-admin/issues/1830
2019-04-04 17:51:44 +08:00
Pan 770753eff2 fix[request.js]: fixed missing return 2019-04-04 17:43:12 +08:00
花裤衩 0d40222b64
fix[Drag]: fixed drag bug in firefox (#1841) 2019-04-04 16:21:45 +08:00
Estelle00 e363c7a77b feature[Vuex]: auto import vuex modules(#1815) 2019-04-04 14:37:01 +08:00
花裤衩 c923726464
fix[TagsView]: fixed z-index bug (#1836) 2019-04-04 13:07:18 +08:00
花裤衩 43115e5538
perf: optimize page view name (#1835) 2019-04-04 12:58:37 +08:00
Pan 184125bdd3 fix[Guide]: fixed missing component id 2019-04-03 18:19:35 +08:00
Pan 25414f1fd9 fix[Guide]: fixed guide demo bug 2019-04-03 17:52:30 +08:00
MaYuanhai a1708e9b68 perf: select demo add default-first-option
其实这个属性还是看作者写菜单模糊搜索下拉框时候发现的,觉得体验非常棒。虽然文章模块这里只是一个示例,但是我觉得还是加上比较好。
2019-04-03 13:40:24 +08:00
Pan 55fa5acb85 perf: optimize the code of el-table slot-scope 2019-04-02 16:32:51 +08:00
Pan a8c6e11ee6 fix[Css]: fixed github-corner css bug 2019-04-02 10:39:26 +08:00
花裤衩 b94e69be6f
[release] 4.0.0 (#1291)
* fix[ExternalLink]: fixed bug when url include chinese #1182

* feature: support  Spanish(#1196)

* fix[MockJS]: fix bug with withCredentials after using mockjs  (#1194)

* 修复 Mock 导致请求丢失 Cookie 的问题

修复 Mock 导致 Cookie 丢失的问题,只有在 XHR.open() 周期时,自定义的 withCredentials 会被挂载,此时检查是否是未被拦截的 xhr,并挂载自定义的 withCredentials ,无则默认为 false

* update readme

* perf[tagsView]: refactor the moveToTarget function (#1195)

* fix[tagsView]:fixed visited view move to currentTag

* edit the scroll regular friendly

* tweak

* fix[tagsView]: fixed moveToCurrentTag bug

* feature: add pagination component (#1213)

* fix[TagsView]: fixed update tags title demo bug (#1223)

* chore: temporary hack cssnano bug #1222

* [release] 3.9.2

* chore: restore the hack of cssnano bug

https://github.com/cssnano/cssnano/issues/643

* add an example of sort data by table  (#1236)

* feature: add drag select component (#1249)

* feat: perfect migrate to @vue/cli-service, upgrade vue babel version (#1267)

* feat: perfect migrate to @vue/cli-service, upgrade vue babel version

1. update to @vue/cli-service@3.0.5, @babel/core@7.0.0
2. use vue-cli service replace config file in build/ and config/
3. upgrade vue and babel configuration
4. solve the svg-sprite config problem #980

refs: #932 #1087  #980 #1056

* fix: fix breadcrumb dependency

* fix: fix index template and static assets load with vue-cli 3

* fix: fix import driver.js in guide page

* refactor(mock): mak mock api compatible with both web-view and webpack server

1. 把 Mockjs 功能移到 server 端中间件,同时也兼容前端直接劫持 XHR
2. dev 环境下默认作为 express 中间件通过 webpack server 提供 mock api
3. prod 构建时,默认在前端用 Mockjs 劫持 XHR

benefits:
  - dev 开发调试时能直接看到 XHR 请求,方便调试网络,能和后端对接联调
  - 避开在开发时因为 Mockjs 引起的网络 bug
  - prod 构建时劫持 XHR,保证本项目的 Github Pages preview 能正常显示 (逻辑和 error-log 一样)
  - 前后台使用的 mock 是同一份代码,不会增加维护负担

ref: [#562](https://github.com/PanJiaChen/vue-element-admin/issues/562#issuecomment-378116233)

* update requires the lowest version of node

* add favicon

* fix(TreeTable): fix `Array.prototype.concat` on custom-tree-table page

* update

* add test

* fix bug

* fix[Charts]: fixed charts resize mixins bug  #1285 (#1290)

* perf[Tinymce]: add searchreplace plugin

* perf[avatar]:minimize the selected area of avatar on the mobile phone when user clicked avatar (#1304)

* refine css

* fix[DragSelect]: fixed querySelectorAll bug

* perf[DragSelect]: add $listeners

* fix link

* fix[Breadcurmb]: fixed pathCompile bug

* fix[Breadcurmb]: fixed router-link bug

* perf[style]: use webpack alias instead of hard code src path (#1338)

* perf[style]: use webpack alias instead of hard code src path

* add sponsors

* fix import path bug

* update vue-router to fixed url path for non ascii urls #1362

* fix[Pagination]: apply PageSizes property to el-pagination  (#1355)

Apply PageSizes property to el-pagination

* update dependence

* add tui.editor (#1374)

* tweak

* add preview

* fix return back bug

* update guide page

* fix[Tinymce]: fixed fullScreen bug #1400

* feat[Breadcrumb]: add hide Breadcrumb option #1442

* perf: use WeChat 7.0 new version icon color

* refactor[login]: refactor login page style

* perf[ScrollPane]: refine moveToTarget code (#1460)

* feature[PDF]: add PDF demo (#1469)

* perf[v-permission]: refine v-permission demo

* perf[Sidebar]: refine sidebar store #1473 (#1474)

* refine: GetUserInfo error message

* fix typo (#1505)

* perf: add sidebar width to variables.scss (#1494)

* tweak

* fix[ThemePicker]: fixed bug when oldVal is null (#1517)

* update README.md

* fix[Breadcrumb]: fixed eslint error (#1521)

* fix[DndList]: fixed drag bug (#1527)

https://github.com/PanJiaChen/vue-element-admin/issues/1524

* pref[Hamburger]: refactor Hamburger component (#1528)

* 美化侧栏菜单切换按钮

* tweak

* perf[Login Form]: optimize eye icon style (#1545)

* optimiz: eye icon style for login form

* change eye-open svg

* perf[Sticky]: export reset method (#1550)

* perf[Sticky]: refine width default value

* perf[utils]: refine parseTime function (#1546)

* 优化 parseTime

修复传入的时间戳是字符串类型,不能转换时间的问题
例:parseTime("1548221490638")

* Update index.js

* perf[UploadExcel]: optimized code (#1552)

* perf: adjust the import order to make it more elegant #1537

* perf[Sidebar]: use sass variables in vue template

* perf[Style]: optimize the sidebar style to make it better to set (#1568)

* perf[SizeSelect]: add default size option (#1566)

* fix[SIdebar]: fixed bug in mobile #1567 (#1569)

* perf: fixed eslint errors

* perf[Lang]: make up for miss keywords

* perf: optimize some code

* perf[Navbar]: refactor navbar style

* perf[Login]: refine css

* feature[Navbar]: add header-search component(#1591)

* fix[Screenfull]: fix screenfull click bug

* perf[Screenfull]: refactor screenfull component

* fix[Screenfull]: fix screenfull bug (#1603)

* fix typo

* fearure[TagsView]: add affix option (#1577)

* perf[utils]: optimize code

* perf[utils]: optimizate variable name

* perf[Navbar]: add scroll bar when the subMenu is too long (#1619)

* perf[ThemePicker]: refine updateStyle function (#554)

* theme replacing should cut tons of irrelevant css

* perf[ResizeHandler]: optimized the judgment of isMobile (#1633)

perf[ResizeHandler]: optimized the judgment of isMobile

*  fix[Sidebar]: fixed infinite loop bug(#1333)

* fixed infinite loop Bug when in hasOneShowingChild Edit the onlyOneChild

* tweak

* fix[Sidebar]: data should return a object

* perf[Sidebar]: optimize code logic (#1349)

* fix[TagsView]: fixed refresh affixed-tag bug (#1653)

* perf[utils.js]: refactor byteLength function (#1650)

* perf[TagsView]: refine code

* perf[TagsView]: set the scrollPane as a business component (#1660)

* fix[DragTable]: support multiple drag-table (#1666)

* perf[Tree-Table]: refactor tree-table

* perf[Tree-Table]: organize the structure and add documentation (#1673)

* fix[Sidebar]: fixed nested router hover bug

* update version

* set preserveWhitespace

* lint code

* fix jest test case

* update config

* bump

* remove empty file

* docs: add link

* fix[Sidebar]: fixed collapse animation problem (#1690)

* fix[Tree-Table]: fixed update item data bug (#1692)

* fix[Waves-Directive]: fixed v-waves does not support update (#1705)

* update husky

* rm cli-plugin-eslint

* add settings (#1707)

* refine settings

* fix[utils]: fixed param2Obj not decoding plus sign (#1712)

* feature[Directive]: add auto-height table directive (#1702)

* fix bug

* feature[Permission]: add role permission management page (#1605)

* feature[Excel]: support export merged header export (#1718)

* feature[Excel]: add export merge header excel demo

* lint

* refine theme color

* add role mock

* tweak mock

* fix[Excel]: fixed export merge-header excel bug

* refine code

* add ThemePicker to setting

* fix[HeaderSearch]: fixed bug in vue2.6+ (#1733)

* fix[Sticky]: fixed bug when set stickyTop

* perf[Sticky]: refine demo

* refine code

* tweak mock

* vuex add namespaced

* fix[Excel]: fixed export bug (#1736)

* rm

* refactor permission

* perf[ThemePicker]: add predefine (#1743)

* fix[Utils]: fixed deepClone error msg (#1748)

* feature: add fixedHeader settings

* fix style in mobile

* fix chore

* perf[Eslint]: update eslint rules

* feature: add create template (#1762)

* add comment

* update vue.config.js

* feature: add sidebar logo (#1767)

* rm

* perf settings

* bump

* refine script and css

* update

* refine settings

* refine config

* update docs

* refine

* rm

* fix jest

* add theme setting

* dump vue-cli

* perf: remove redundant code

* update element-ui

* fix sticky demo bug

* docs

* fixed password input  bug

* refine login form css

* remove tree-table

* update version

* mock error

* refine layout name

* refine
2019-04-01 17:07:16 +08:00
MaYuanhai 96d3cfa215 perf[Login]: optimize input focus interaction (#1798) 2019-03-29 12:55:07 +08:00
Pan 7703005013 perf: remove redundant code 2019-03-28 11:44:04 +08:00
sun ao 9d975b5eff fix[Mock]: add xhr.responseType (#1779) 2019-03-27 13:31:34 +08:00
MaYuanhai 331173ffee perf[Css]: fixed typo (#1776) 2019-03-26 12:59:31 +08:00
Pan 3100d0cff4 fix[Sidebar]: fixed v-if meta bug 2019-03-22 15:11:22 +08:00
Yuga Sun ae6bbf7858 fix[Utils]: fixed deepClone error msg (#1748) 2019-03-21 15:14:15 +08:00
MaYuanhai 63dba8b7d8 perf[ThemePicker]: add predefine (#1743) 2019-03-21 11:04:33 +08:00
toruksmakto ccb227fbec fix[Excel]: fixed export bug (#1736) 2019-03-19 18:33:59 +08:00
Pan 715fe3e684 perf[Sticky]: refine demo 2019-03-19 10:36:50 +08:00
Mrli2016 abb1d91a9e fix[Sticky]: fixed bug when set stickyTop 2019-03-19 10:31:12 +08:00
花裤衩 d1f32a05a8
fix[HeaderSearch]: fixed bug in vue2.6+ (#1733) 2019-03-19 10:18:04 +08:00
Pan e601da38d0 fix[Excel]: fixed export merge-header excel bug 2019-03-18 15:57:22 +08:00
Jere b8d47bd847 chore: update eslint && lint code 2019-03-17 17:40:51 +08:00
Pan 8d242a002f feature[Excel]: add export merge header excel demo 2019-03-17 16:52:11 +08:00
小新 763b31d915 feature[Excel]: support export merged header export (#1718) 2019-03-17 16:36:09 +08:00
Serge c963f56686 feature[Permission]: add role permission management page (#1605)
增加角色权限管理菜单
2019-03-15 18:08:12 +08:00
yuntao1997 17f0d84b35 feature[Directive]: add auto-height table directive (#1702) 2019-03-15 16:00:58 +08:00
Yunfei f38d5810d9 fix[utils]: fixed param2Obj not decoding plus sign (#1712) 2019-03-14 16:12:47 +08:00
裤裆三重奏 cf48ed218b fix[Waves-Directive]: fixed v-waves does not support update (#1705) 2019-03-13 15:26:09 +08:00
Jesonhu 9574643e92 fix[Tree-Table]: fixed update item data bug (#1692) 2019-03-12 13:23:59 +08:00
花裤衩 8edf209498
fix[Sidebar]: fixed collapse animation problem (#1690) 2019-03-12 11:12:28 +08:00
Pan 698df4942d docs: add link 2019-03-11 11:43:07 +08:00
花裤衩 1e2fc52ac9
remove empty file 2019-03-09 11:06:48 +08:00
Pan 3e92814f13 fix[Sidebar]: fixed nested router hover bug 2019-03-07 17:50:36 +08:00
花裤衩 5ca6f79836
perf[Tree-Table]: organize the structure and add documentation (#1673) 2019-03-07 14:13:36 +08:00
liugq dc6030bce6 perf[Tree-Table]: refactor tree-table (#1587) 2019-03-07 11:34:23 +08:00
花裤衩 fc9e7249e7
fix[DragTable]: support multiple drag-table (#1666) 2019-03-06 09:49:47 +08:00
花裤衩 9677406002
perf[TagsView]: set the scrollPane as a business component (#1660) 2019-03-05 13:20:30 +08:00
Pan 1e06f1da67 perf[TagsView]: refine code 2019-03-04 11:43:14 +08:00
MaYuanhai aa2eb7d40f perf[utils.js]: refactor byteLength function (#1650) 2019-03-04 10:54:58 +08:00
kaisawind 6255f54f41 fix[TagsView]: fixed refresh affixed-tag bug (#1653) 2019-03-01 18:44:37 +08:00
王洪莹 c2495545a5 perf[Sidebar]: optimize code logic (#1349) 2019-02-28 13:22:49 +08:00
Pan fc277c75ee fix[Sidebar]: data should return a object 2019-02-27 13:50:27 +08:00
frank10000 e544c01e63 fix[Sidebar]: fixed infinite loop bug(#1333)
* fixed infinite loop Bug when in hasOneShowingChild Edit the onlyOneChild

* tweak
2019-02-27 13:48:30 +08:00
花裤衩 c0f378e50a perf[ResizeHandler]: optimized the judgment of isMobile (#1633)
perf[ResizeHandler]: optimized the judgment of isMobile
2019-02-25 17:58:28 +08:00
WangXinhai 6b88c41ffc perf[ThemePicker]: refine updateStyle function (#554)
* theme replacing should cut tons of irrelevant css
2019-02-25 17:29:58 +08:00
花裤衩 2e89ef444b
perf[Navbar]: add scroll bar when the subMenu is too long (#1619) 2019-02-21 16:08:22 +08:00
Pan fe950801c9 perf[utils]: optimizate variable name 2019-02-19 10:24:22 +08:00
Pan 070a3343f2 perf[utils]: optimize code 2019-02-19 10:07:36 +08:00
花裤衩 48e47e86f1
fearure[TagsView]: add affix option (#1577) 2019-02-15 15:26:48 +08:00
Pan 4e0559833f fix typo 2019-02-15 14:54:57 +08:00
花裤衩 8c18c000d4
fix[Screenfull]: fix screenfull bug (#1603) 2019-02-15 10:03:34 +08:00
Pan 0fed69f367 perf[Screenfull]: refactor screenfull component 2019-02-13 16:34:03 +08:00
Pan a1d6ad3453 fix[Screenfull]: fix screenfull click bug 2019-02-13 16:10:23 +08:00
花裤衩 c71f3110fb
feature[Navbar]: add header-search component (#1591)
* init

* init

* refactor search function by fuse

* fix bug

* fix bug

* tweak
2019-02-13 15:09:14 +08:00
Pan fe381503eb perf[Login]: refine css 2019-02-11 17:52:53 +08:00
Pan 24ee761809 perf[Navbar]: refactor navbar style 2019-02-11 17:42:31 +08:00
Pan 0b6e7515ce perf: optimize some code 2019-02-11 14:51:09 +08:00
Pan dd9fb09a29 perf[Lang]: make up for miss keywords 2019-02-11 14:15:55 +08:00
Pan 6e42b4c896 perf: fixed eslint errors 2019-02-01 14:09:29 +08:00
花裤衩 3b9abde89a
fix[SIdebar]: fixed bug in mobile #1567 (#1569) 2019-01-30 13:38:01 +08:00
花裤衩 4b3a41c535
perf[SizeSelect]: add default size option (#1566) 2019-01-30 12:58:30 +08:00
花裤衩 b44000c9de
perf[Style]: optimize the sidebar style to make it better to set (#1568) 2019-01-30 12:58:11 +08:00
Pan 727c1a45dd perf[Sidebar]: use sass variables in vue template 2019-01-29 18:00:59 +08:00
Pan 9daeb1cb34 perf: adjust the import order to make it more elegant #1537 2019-01-29 16:54:38 +08:00
花裤衩 3153a1b10b
perf[UploadExcel]: optimized code (#1552) 2019-01-25 12:50:21 +08:00
xbigcat 23055c9b2c perf[utils]: refine parseTime function (#1546)
* 优化 parseTime

修复传入的时间戳是字符串类型,不能转换时间的问题
例:parseTime("1548221490638")

* Update index.js
2019-01-24 15:32:35 +08:00
Pan 8ef6c7ee7d perf[Sticky]: refine width default value 2019-01-24 13:48:19 +08:00
花裤衩 eb1d3381f4
perf[Sticky]: export reset method (#1550) 2019-01-24 11:14:23 +08:00
Yuga Sun 8cf279fbe1 perf[Login Form]: optimize eye icon style (#1545)
* optimiz: eye icon style for login form

* change eye-open svg
2019-01-23 11:18:02 +08:00
Jiankian 6234db924e pref[Hamburger]: refactor Hamburger component (#1528)
* 美化侧栏菜单切换按钮

* tweak
2019-01-16 15:05:12 +08:00
花裤衩 d84a17688d
fix[DndList]: fixed drag bug (#1527)
https://github.com/PanJiaChen/vue-element-admin/issues/1524
2019-01-16 10:18:32 +08:00
花裤衩 f767fab4cc
fix[Breadcrumb]: fixed eslint error (#1521) 2019-01-15 16:36:03 +08:00
花裤衩 109c393cc6
fix[ThemePicker]: fixed bug when oldVal is null (#1517) 2019-01-14 14:07:56 +08:00
Pan c54e99d0a9 tweak 2019-01-11 15:42:53 +08:00
Duy Nguyen Hoang 5ea614fe5d perf: add sidebar width to variables.scss (#1494) 2019-01-11 15:37:59 +08:00
Pan 9cea3c3abe refine: GetUserInfo error message 2019-01-09 16:04:24 +08:00
花裤衩 311796a14b
perf[Sidebar]: refine sidebar store #1473 (#1474) 2018-12-28 15:28:26 +08:00
Pan cc7572820e perf[v-permission]: refine v-permission demo 2018-12-27 18:19:11 +08:00
花裤衩 deb6840174
feature[PDF]: add PDF demo (#1469) 2018-12-27 13:42:10 +08:00
董雨 07c3211989 perf[ScrollPane]: refine moveToTarget code (#1460) 2018-12-26 14:02:43 +08:00
Pan afdb893dcd refactor[login]: refactor login page style 2018-12-24 17:51:05 +08:00