Commit Graph

544 Commits

Author SHA1 Message Date
花裤衩 d1cceb69b7
feature: add pathToRegexp to compile path (#1148) 2018-09-30 13:45:38 +08:00
花裤衩 ff13ee1f27
feature[Excel]: support bookType option (#1144)
Documentation: https://panjiachen.github.io/vue-element-admin-site/feature/component/excel.html
2018-09-29 13:23:00 +08:00
Pan dc84e7b9fb fix sidebar css bug #1142 2018-09-28 13:10:18 +08:00
zhaoguoweiLLHC b82e8e860d fix[UploadExcel]: fixed bug when there were multiple components(#1136)
复用此组件时因为id不可重复的问题会导致onSuccess指向错误。
2018-09-27 13:24:37 +08:00
Pan 98a8277a37 tweak code 2018-09-27 10:24:38 +08:00
花裤衩 63ff44f8e5
fix[Sidebar]: link bug (#1134)
Fixed #1125
2018-09-26 17:10:22 +08:00
Pan dd5646ffbc remove unnecessary assets 2018-09-19 10:05:10 +08:00
Pan 87b319d96a fix[Tinymce]: uuid bug 2018-09-17 18:37:12 +08:00
inklake 4c49259c92 refine[permission.js]: switch roles will refresh the sidebar correctly (#1067)
后台菜单->权限测试页->指令权限 切换角色 会正确 刷新侧边栏

> /src/store/modules/permission.js

原方法在递归筛选侧边菜单后, 会意外修改原始 asyncRouterMap 导致侧边菜单重绘不正常
已经用新方法替代修复  结果入下图

![图片](https://s1.ax1x.com/2018/09/07/iCL7f1.gif)
2018-09-17 17:46:20 +08:00
花裤衩 83516aeb17
fixed: sidebar has no children bug (#1111) 2018-09-17 16:20:34 +08:00
花裤衩 24602755cd
refactor: svg icons (#1096)
* refactor svg

* add svgo

* refine

* add tree.svg

* add svg.yml
2018-09-17 13:07:11 +08:00
花裤衩 11163146c0
fix[tagsView]: update tagsview when query is different(#1090) 2018-09-14 17:58:59 +08:00
Pan 3277343804 fix[redirect]: miss query bug 2018-09-11 14:01:40 +08:00
jiuwuxiaohun 0740bb36f7 fix[tagsView]: refresh bug (#1059)
#1051
2018-09-11 13:39:18 +08:00
Pan 9c03dd3514 perf[Sidebar]: adapt when no icon 2018-09-11 13:07:53 +08:00
Pan fbb3641406 refine i18n demo 2018-09-10 13:02:18 +08:00
花裤衩 f85b044ff8
fix: table style bug in mini size option (#1081)
#1080
2018-09-10 11:13:08 +08:00
花裤衩 ed4427243d
feature: add a redirect url when not logged in (#1046)
Detail see #438
2018-09-07 17:15:47 +08:00
花裤衩 9c5352ecd6
perf: style in mobile mode (#1065) 2018-09-07 17:03:40 +08:00
Pan c58bce603b rm unnecessary console.log 2018-09-06 13:18:34 +08:00
Pan fa54b927f7 tweak require icons 2018-09-05 15:22:16 +08:00
Shaw 6ecf8b820a fix poor naming formats and typo in UploadExcel component (#1047) 2018-09-04 18:09:01 +08:00
Pan a5dd905b46 perf[Sidebar]: refine el-scrollbar__bar css 2018-09-04 15:10:13 +08:00
Pan 676aaf3485 perf[Charts]: refine style 2018-09-04 15:03:47 +08:00
Pan 44e4bddc21 perf[Charts]: refine resize-mixin 2018-09-04 14:54:40 +08:00
花裤衩 a03d1edac6
fix[LineChart]: fixed transitionend bug (#1045)
Fixed https://github.com/PanJiaChen/vue-element-admin/issues/1036
2018-09-04 14:40:53 +08:00
Pan 2938e33d0e tweak spelling mistake 2018-09-03 15:03:00 +08:00
花裤衩 2fb26525fa
feature[tagsView]: add refresh (#1033)
* add refresh

* fix bug
2018-08-31 16:11:04 +08:00
花裤衩 d0d1addba8
refactor[store]: refactor tagsView store (#1032) 2018-08-31 16:00:28 +08:00
Pan 0fe3f181ad fix name typo 2018-08-31 14:45:29 +08:00
花裤衩 68de01e828
refactor[tagsView]: use el-scrollbar (#995) 2018-08-31 14:01:07 +08:00
Pan 6e569c4f4a tweak 2018-08-30 17:13:17 +08:00
花裤衩 0fbda3c8c7
feature: add global size option (#1024) 2018-08-29 15:24:47 +08:00
Pan 5bbb4abe21 chore: in dev disable errorLog 2018-08-29 11:12:15 +08:00
Pan 1e50d4a93b refactor[ExternalLink]: tweak externalLink judge 2018-08-28 18:19:52 +08:00
ZYSzys ccf1791fca chore: remove vue-multiselect (#1018) 2018-08-28 09:59:18 +08:00
Pan 2e1f36fe00 fix[backToTop]: continuous click bug #1007 2018-08-24 13:45:03 +08:00
花裤衩 00d292f67e
feature: [sidebar] add external-link (#991) 2018-08-24 10:06:09 +08:00
Pan 0e75dcc42a fix[parseTime]: fix getDay() bug 2018-08-23 17:52:57 +08:00
mimimi 189e645b23 feature[Tinymce]: support i18n (#994) 2018-08-22 14:42:12 +08:00
Pan b2570f891d docs 2018-08-20 10:20:43 +08:00
花裤衩 e5d4290938
refactor: add eslint-plugin-vue && lint code (#976) 2018-08-19 16:55:24 +08:00
Leo 8f58baf617 fix typo (#975) 2018-08-17 18:03:53 +08:00
Pan fded36c990 docs: change vueAdmin-template => vue-admin-template 2018-08-16 11:15:25 +08:00
Pan 53f3e7d5e6 format code 2018-08-15 17:29:15 +08:00
花裤衩 378ca2c217
update to webpack4 (#889) 2018-08-15 15:33:34 +08:00
Andrey Dos 1df59cc4b6 fix typo(#965) 2018-08-15 14:51:08 +08:00
shufangyi 312a2ca8ed fixBug[waves.js]: wave's position (#949)
* fixBug[waves.js]-wave's position

* fix[waves.js]-wave's position
2018-08-13 13:45:05 +08:00
Pan f3733c0b37 fix: demo links 2018-08-13 13:13:41 +08:00
Pan 0ef14ff5c6 tweak 2018-08-09 11:03:13 +08:00
Pan c57c6045c9 docs: tweak 2018-08-08 13:42:12 +08:00
_xiaotian fe190b6188 perf[login.vue]: Improve input background and cursor color (#927)
* 完善input背景和光标色;

1.完善在Chrome浏览器时登陆界面的input标签 使用记住密码之后颜色和背景不一致;
2.目前的rgb值是 #2d3a4b  修改的rgb值是 #283443;
3.修复光标使用Chrome记录的账号之后变黑色;
4.移除 .title-container .title 重复的font-weight: 400;
5.不用IE我们大家都是好朋友!~

* Update index.vue
2018-08-01 11:03:29 +08:00
Pan 1e0b9c0055 fix[Tinymce]: fixed tinymce upload dialog bug #654 2018-07-31 11:12:38 +08:00
mimimi 5f20bfc780 fixed[tagsView]: DEL_OTHERS_VIEWS cachedViews bug (#913)
* mutations DEL_OTHERS_VIEWS state.cachedViews -> i type is string slice(begin: number, end: number)
2018-07-25 17:20:32 +08:00
mimimi 8851a68066 tweak setLocalStorgae -> setLocalStorage (#894) 2018-07-20 16:02:38 +08:00
Pan 878628b0ed tweak code comments 2018-07-20 10:25:14 +08:00
Pan e254fc6c1a fix[Sidebar]: fixed sidebar bug when set hidden:true #880 2018-07-17 18:13:29 +08:00
花裤衩 513eb66d97
fix[UploadExcel]: add file type check (#878) 2018-07-17 13:30:52 +08:00
Pan 62e1c851c8 tweak 2018-07-16 11:18:13 +08:00
博文 aa7eab58f9 refactor(SidebarItem): optimizate SidebarItem (#845)
* refactor(sidebar-item): optimizate SiderbarItem.

* chore: update nested examples.

* fix: fix a wrong path.

* fix: fix a transition bug.

* fix: fix a wrong path.

* perf: using "router" mode of el-menu.

* Revert "perf: using "router" mode of el-menu."

This reverts commit cef02a30b0.

* fix: complement i18n text.
2018-07-13 11:23:06 +08:00
花裤衩 77cb6b1f43
fix[excel]: default filename bug && format code (#857)
* fix filename bug

* format

* format
2018-07-11 14:16:28 +08:00
Pan 6a5197ad51 perf[css]: refine style 2018-07-10 13:22:16 +08:00
Pan 9b7a9a64e5 fix[css]: css bug in mobile #852 2018-07-10 13:02:19 +08:00
Pan 89ce53e185 fix[TagsView]: fix contextmenu position bug #850 2018-07-09 17:25:45 +08:00
Pan 9e04f58163 perf[login]: i18n of input placeholder #844 2018-07-07 01:44:29 +08:00
花裤衩 d98c5032f8
refine style (#843)
* refine style

* refine 404 style

* refine
2018-07-06 11:19:53 +08:00
ZYSzys a575670cef perf[ArticleDetail]: refine el-col :span (#841) 2018-07-06 10:07:43 +08:00
Pan 572a2d9c34 perf[Tinymce]: set nonbreaking_force_tab to true 2018-06-30 17:26:31 +08:00
Pan 59789d92cf perf[uploadExcel]: fix typo 2018-06-28 09:53:55 +08:00
Pan 2687b2eb3c perf[v-loading]: remove .body modifier #779 2018-06-26 17:10:21 +08:00
Pan 03b708870b update doc 2018-06-25 14:54:02 +08:00
花裤衩 bdc31cea1a
chore: use Runtime-only (#799)
Detail see [Runtime-Compiler-vs-Runtime-only](https://vuejs.org/v2/guide/installation.html#Runtime-Compiler-vs-Runtime-only)
2018-06-25 11:17:47 +08:00
花裤衩 d995cdb332
add[example]: add nested routes example (#789) 2018-06-21 14:26:25 +08:00
Pan cbc3ddd827 perf[uploadExcel]: add beforeUpload hock 2018-06-20 13:29:57 +08:00
Pan 03691739e1 add:[permission]: add checkPermission function 2018-06-19 17:52:05 +08:00
Pan 3f479664b6 perf[utils.js]: Add code comments to deepClone and remove redundant code 2018-06-19 11:26:46 +08:00
临书 cbee7b6f20 fix[TagView-component]: loss route querystring when operating tags (#768) 2018-06-13 16:57:07 +08:00
临书 2a590a2087 Support route query in TagView (#765) 2018-06-12 13:53:56 +08:00
Pan c93fcefe54 perf[UploadExcel-component]: tweaks 2018-06-12 10:53:08 +08:00
Pan 9f8ac37497 perf[UploadExcel-component]: set readerData to promise 2018-06-12 09:56:53 +08:00
Pan 8c685cc4c6 doc: add code comments to request.js 2018-06-11 13:04:11 +08:00
kuviki e40fd27775 Fix typo (#747) 2018-06-07 13:26:10 +08:00
Pan f3ccd9f04e perf[Tinymce]: remove legacyoutput #745 2018-06-06 19:46:31 +08:00
Pan 739aef4387 Remove redundant code 2018-06-01 17:04:33 +08:00
Insua a7942636c6 fix(Tinymce): When content is null,set content to '' to avoid error (#732)
When get rich editor value(null) from backend,it will occur error
```
Error in nextTick: "TypeError: Cannot read property 'replace' of null"
```
So I set val to '' to avoid it
2018-06-01 15:38:08 +08:00
Pan 9ba1ea6933 perf[el-dragDialog]: add dragDialog callback function 2018-06-01 10:38:27 +08:00
Pan 320e941d9a fix[Sticky]: fixed bug in resize #725 2018-05-31 17:16:24 +08:00
花裤衩 d0f6d3f1f6
chore: use babel-plugin-dynamic-import-node to lazy-loading (#727)
detail see https://panjiachen.github.io/vue-element-admin-site/#/zh-cn/lazy-loading?id=%E8%B7%AF%E7%94%B1%E6%87%92%E5%8A%A0%E8%BD%BD
2018-05-31 16:53:08 +08:00
Pan 0375542009 fix[Sticky]: fixed bug in resize #724 2018-05-31 13:22:12 +08:00
Pan 03e5f762b3 fix[Sticky]: fixed bug in resize #721 2018-05-31 10:50:38 +08:00
Pan 20aad46416 fix[permission]: directive demo typo 2018-05-30 15:27:44 +08:00
花裤衩 4fc25241fe
refactor example demo (#713)
* refactor: Adjust the example directory structure

* perf form demo

* refine editor-slide-upload css

* refine demo
2018-05-30 15:25:08 +08:00
Pan 6327869106 perf[transition]: refine transition animation 2018-05-29 14:31:55 +08:00
Pan c861dd10cf fix: [404.vue]: return-home button href bug 2018-05-28 15:33:47 +08:00
花裤衩 0a196f79ba
Add guide page #534 (#707)
detail see #534
2018-05-28 14:36:06 +08:00
Pan d2d323bb02 fix: [sidebar.css] : style bug in windows #702 2018-05-28 11:01:07 +08:00
Pan 66613f0373 perf[filter]: remove duplicate code #661 2018-05-12 23:17:14 +08:00
Pan 6795c26d02 fix[Tinymce]: custom-btn bug in fullscreen 2018-05-09 14:36:17 +08:00
花裤衩 597df4844a
feature[permission]: add v-permission (#653) 2018-05-08 22:15:34 +08:00
Pan 1e103cf151 perf[dashboard]: add resonsive dashboard 2018-05-05 15:42:46 +08:00