Commit Graph

50 Commits

Author SHA1 Message Date
xbigcat 22cdfc246c perf[utils]: refine parseTime function (#1546)
* 优化 parseTime

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

* Update index.js
2019-01-30 14:07:26 +08:00
Pan 51f99770fe add test 2018-10-29 15:29:54 +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
花裤衩 b9eedb8689 feature: add pagination component (#1213) 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
花裤衩 b0bd91cd0f
add set tagsview title demo (#1167) 2018-10-09 14:10:43 +08:00
Pan c58bce603b rm unnecessary console.log 2018-09-06 13:18:34 +08:00
Pan 2938e33d0e tweak spelling mistake 2018-09-03 15:03:00 +08:00
Pan 0e75dcc42a fix[parseTime]: fix getDay() bug 2018-08-23 17:52:57 +08:00
Pan 53f3e7d5e6 format code 2018-08-15 17:29:15 +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
Pan 8c685cc4c6 doc: add code comments to request.js 2018-06-11 13:04:11 +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 a160848367 fix typo 2018-04-15 21:01:03 +08:00
Yuga Sun 88c28f5d7e perf: change in operation to Object.keys (#518) 2018-03-20 17:27:42 +08:00
Pan 2472107768 perf[i18n]: refine generateTitle function 2018-01-04 10:04:14 +08:00
花裤衩 45fef9b431
Feature/english (#381)
* perf[navbar]: set langSelect to component && refine errorLog component

* feat[login]:add 18n to login form

* fix[pagination]: fixed when selected page-sizes

* perf[i18n]:dashboard document svg permission

* perf[charts]: perf effect

* perf[i18n]:excel && zip

* perf[i18n]: table && errorLog && theme

* perf[i18n]: components

* perf[i18n]: direct use $t

* perf[i18n]: complex-table

* update README.md

* update README.md 📘

* perf[i18n]: refine code comments
2017-12-29 16:07:42 +08:00
Pan f3bfaa0f2b feat[login]:add 18n to login form 2017-12-25 15:49:52 +08:00
lvsmart b7939165d1 get real version from node_modules 2017-12-08 11:49:34 +08:00
Pan acebaeae0c perf(i18n): add generateTitle to utils 2017-12-06 14:18:28 +08:00
Pan 0f5304112c fix:fixed theme-picker bug 2017-11-29 14:11:25 +08:00
Pan dec160fd1e chore: change inject package dependencies 2017-11-27 10:51:54 +08:00
Pan d20585a3f9 refactor:foramt views/component-demo 2017-11-17 17:51:41 +08:00
Pan 1511fe3778 fix:remove semi 2017-11-16 17:26:34 +08:00
Reza Haidari .A 1d4f12187f add validate email method 2017-11-15 01:37:50 -06:00
Pan 61deec548c refactor:change name=> fetch.js to request.js 2017-11-07 13:55:57 +08:00
Pan 374fd3ffeb feature:change theme online 2017-11-01 15:48:30 +08:00
Pan 98d5f9a247 lint:format code style 2017-10-31 16:04:30 +08:00
Pan 8d53ae1259 add:add clipboard 2017-09-27 10:18:40 +08:00
Pan 3c05519a09 refine 2017-08-28 13:18:35 +08:00
Pan 551e911eb4 全局lint优化 2017-08-28 13:18:35 +08:00
Pan 0094f44910 change login by username 2017-08-28 13:18:35 +08:00
花裤衩 c32fc58a3a Update fetch.js 2017-08-16 09:57:05 +08:00
Pan a0a011e985 fix cookie token bug 2017-07-20 13:27:05 +08:00
Pan 29d28c3231 fix bug in vuex of strict model 2017-07-13 16:54:54 +08:00
卜木 4fa07aea09 Update index.js 2017-07-03 13:26:57 +08:00
卜木 56a048865d prevent JSON.parse fault when search is undefined 2017-07-03 13:26:57 +08:00
Pan ffd668fb7d refine dashboard css 2017-07-03 12:45:31 +08:00
Pan cf1fb6cd4d refine demo code 2017-06-15 15:35:14 +08:00
Pan 4bed888e9d refine 2017-05-16 11:08:17 +08:00
Pan 0da4e5e5a7 add tips 2017-05-16 10:44:55 +08:00
Pan 88f2f7eadd fetch.js add tips 2017-05-16 10:44:55 +08:00
Pan 0476f25eba 权限页面优化 2017-05-16 10:44:55 +08:00
Pan 5aa22731c8 rewrite axios && mock data 2017-05-16 10:44:55 +08:00
Pan 021a7009cb refine 2017-05-02 13:05:00 +08:00
Pan db83dd50d1 add iconfont && trim email 2017-04-26 14:50:02 +08:00
Pan 3fe2a376dd refine 2017-04-24 17:34:04 +08:00
Pan 6d9ddadcf1 add table demo 2017-04-22 21:44:36 +08:00
Pan d10370086e init 2017-04-18 15:09:13 +08:00