Commit Graph

920 Commits

Author SHA1 Message Date
LarchLiu 21516170a9 fix[Charts]: fixed charts resize mixins bug #1285 (#1290) 2018-11-02 15:07:39 +08:00
Pan da286d4439 fix bug 2018-11-01 10:41:19 +08:00
Pan 51f99770fe add test 2018-10-29 15:29:54 +08:00
Pan aefd8bb36a update 2018-10-29 15:02:06 +08:00
zthxxx 40a7626acb 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
2018-10-29 13:55:36 +08:00
Pan 6c967f177a Merge branch 'master' into v4.0 2018-10-26 10:46:43 +08:00
Pan 1d684b7632 [release] 3.9.3 2018-10-26 10:44:18 +08:00
花裤衩 cbdad9cb1b
fix[TagsView]: fix openMenu boundary display bug (#1256) 2018-10-25 10:42:18 +08:00
花裤衩 c042dc8de3 feature: add drag select component (#1249) 2018-10-24 18:34:45 +08:00
花裤衩 f79d0febb1 add an example of sort data by table (#1236) 2018-10-24 18:34:45 +08:00
Pan 10031547ec chore: restore the hack of cssnano bug
https://github.com/cssnano/cssnano/issues/643
2018-10-24 18:34:45 +08:00
Pan ccc90502ce [release] 3.9.2 2018-10-24 18:34:45 +08:00
Pan 6f0c40e841 chore: temporary hack cssnano bug #1222 2018-10-24 18:34:45 +08:00
花裤衩 2ba5f25205 fix[TagsView]: fixed update tags title demo bug (#1223) 2018-10-24 18:34:45 +08:00
花裤衩 b9eedb8689 feature: add pagination component (#1213) 2018-10-24 18:34:45 +08:00
Pan a67b455306 fix[tagsView]: fixed moveToCurrentTag bug 2018-10-24 18:34:45 +08:00
frank10000 27772946c2 perf[tagsView]: refactor the moveToTarget function (#1195)
* fix[tagsView]:fixed visited view move to currentTag

* edit the scroll regular friendly

* tweak
2018-10-24 18:34:45 +08:00
Pan 4cdcbee0d6 update readme 2018-10-24 18:34:45 +08:00
CNine 97261a2feb fix[MockJS]: fix bug with withCredentials after using mockjs (#1194)
* 修复 Mock 导致请求丢失 Cookie 的问题

修复 Mock 导致 Cookie 丢失的问题,只有在 XHR.open() 周期时,自定义的 withCredentials 会被挂载,此时检查是否是未被拦截的 xhr,并挂载自定义的 withCredentials ,无则默认为 false
2018-10-24 18:34:45 +08:00
Ramón Menor 0f7cf7e820 feature: support Spanish(#1196) 2018-10-24 18:34:45 +08:00
Pan 3802f6f8d2 fix[ExternalLink]: fixed bug when url include chinese #1182 2018-10-24 18:34:45 +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
Pan bf2629ffba chore: restore the hack of cssnano bug
https://github.com/cssnano/cssnano/issues/643
2018-10-23 09:51:57 +08:00
Pan baa7172a70 [release] 3.9.2 2018-10-19 14:55:22 +08:00
Pan bc003fd78b chore: temporary hack cssnano bug #1222 2018-10-19 10:08:33 +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
Pan 0f6d830c19 update readme 2018-10-15 17:21:17 +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
Pan 90d3e314c0 [release] 3.9.1 2018-10-09 15:51:45 +08:00
happystory 4780ac334f perf: use templateParameters to refine index.html (#1156)
* 优化html模板
2018-10-09 15:23:27 +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