Commit Graph

676 Commits

Author SHA1 Message Date
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
Pan 90ee05df93 perf: use WeChat 7.0 new version icon color 2018-12-24 16:23:12 +08:00
Pan 6f1db28ea2 feat[Breadcrumb]: add hide Breadcrumb option #1442 2018-12-24 11:18:37 +08:00
Pan a56145509d perf[Tinymce]: remove importcss plugin #1452 2018-12-24 10:46:07 +08:00
Pan 1b394ae417 refine[Example]: refine style 2018-12-20 15:01:47 +08:00
Yulong Jing c2a2fec067 fix[Example]: add <el-form-item> wrapper for validate (#1428)
创建文章里js里有验证规则,但是由于少了<el-form-item>元素而不起作用。
2018-12-20 14:49:14 +08:00
Pan 999ea3a443 fix[Tinymce]: fixed fullScreen bug #1400 2018-12-04 18:15:52 +08:00
Pan 46d6f455af fix[Guide-Page]: fix guide page style bug #1391 2018-12-04 14:00:30 +08:00
Pan 4d6e9a5358 fix return back bug 2018-11-29 18:18:02 +08:00
Pan c68e68897b tweak 2018-11-28 14:24:30 +08:00
花裤衩 b37a789f63 add tui.editor (#1374) 2018-11-28 11:06:20 +08:00
Heedong Im 54dc9ddfaa fix[Pagination]: apply PageSizes property to el-pagination (#1355)
Apply PageSizes property to el-pagination
2018-11-26 18:17:06 +08:00
samuelchlui 4a07432468 perf[style]: use webpack alias instead of hard code src path (#1338) 2018-11-19 12:43:23 +08:00
Pan a51d72f42e fix[Breadcurmb]: fixed router-link bug 2018-11-09 18:00:03 +08:00
Pan c13b574794 fix[Breadcurmb]: fixed pathCompile bug 2018-11-09 13:38:02 +08:00
Pan 9df740bcf1 fix link 2018-11-09 09:51:52 +08:00
Pan 4a7b50ed46 perf[DragSelect]: add $listeners 2018-11-08 17:30:17 +08:00
Pan a0862ca547 fix[DragSelect]: fixed querySelectorAll bug 2018-11-08 17:19:39 +08:00
jaysunxiao 9f1552d98f perf[avatar]:minimize the selected area of avatar on the mobile phone when user clicked avatar (#1304) 2018-11-06 16:11:47 +08:00
Pan a25c63a580 perf[Tinymce]: add searchreplace plugin 2018-11-02 15:11:04 +08:00
LarchLiu 1701fcce5d fix[Charts]: fixed charts resize mixins bug #1285 (#1290) 2018-11-02 15:10:53 +08:00
花裤衩 cbdad9cb1b
fix[TagsView]: fix openMenu boundary display bug (#1256) 2018-10-25 10:42:18 +08:00
花裤衩 1a345a7c65
feature: add drag select component (#1249) 2018-10-24 16:06:24 +08:00
花裤衩 ec58373a52
add an example of sort data by table (#1236) 2018-10-23 17:04:25 +08:00
花裤衩 41a5615ee5
fix[TagsView]: fixed update tags title demo bug (#1223) 2018-10-18 17:15:57 +08:00
花裤衩 df23405bde
feature: add pagination component (#1213) 2018-10-17 17:39:25 +08:00
Pan f94aa1aca3 fix[tagsView]: fixed moveToCurrentTag bug 2018-10-17 14:08:00 +08:00
frank10000 96bda5515c perf[tagsView]: refactor the moveToTarget function (#1195)
* fix[tagsView]:fixed visited view move to currentTag

* edit the scroll regular friendly

* tweak
2018-10-16 10:56:01 +08:00
CNine e8ab82c2c1 fix[MockJS]: fix bug with withCredentials after using mockjs (#1194)
* 修复 Mock 导致请求丢失 Cookie 的问题

修复 Mock 导致 Cookie 丢失的问题,只有在 XHR.open() 周期时,自定义的 withCredentials 会被挂载,此时检查是否是未被拦截的 xhr,并挂载自定义的 withCredentials ,无则默认为 false
2018-10-15 13:13:21 +08:00
Ramón Menor a284c1f007 feature: support Spanish(#1196) 2018-10-15 10:10:50 +08:00
Pan 323408f8d9 fix[ExternalLink]: fixed bug when url include chinese #1182 2018-10-10 17:43:33 +08:00
花裤衩 b0bd91cd0f
add set tagsview title demo (#1167) 2018-10-09 14:10:43 +08:00
Pan ae2754a568 fix[TagsView]: fixed visitedViews bug
Some strange bugs occur when the names of the routes are the same.
2018-10-08 17:19:32 +08:00
Pan 6e07d18b1d refine example demo 2018-10-08 17:16:32 +08:00
花裤衩 f58db95be5
perf[sidebar]: hightlight submenu when is active (#1154) 2018-10-08 14:25:11 +08:00
Pan 616b65c238 pref[Sidebar]: refine key 2018-09-30 16:08:37 +08:00
Pan 68cd051bb6 tweak 2018-09-30 16:02:50 +08:00
花裤衩 935d9aaba8
fix:[Sidebar]: fixed bug in iOS (#1152) 2018-09-30 13:46:19 +08:00
花裤衩 616f173aab
feature[tagsView]: support middle click (#1149) 2018-09-30 13:46:02 +08:00
花裤衩 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