Ioannis Cherouvim
eece603cde
tested fixedZero and isUrl ( #2600 )
8 years ago
信鑫-King
4d4e419990
fix: request cache if pro site ( #2519 )
8 years ago
afc163
0f15cfc9e7
Fix authority reading and add test case
8 years ago
陈帅
77d714f2f0
fix authority parse error
8 years ago
afc163
f3178a8171
Fix JSON parse error in authority
close #2243
close #2276
close #2185
close #2226
close #2218
close #2241
ref #2170
8 years ago
Tan90Qian
cbf052c6db
修复2.0权限问题
8 years ago
陈帅
5fcbc84c46
Replace your own algorithm with nzh
8 years ago
Anderson
b7cd4c1ecf
Update request.js
Fix bug, pass additional parameters to then chain in promise.
8 years ago
陈帅
b60c5305c4
Turn off caching by default
8 years ago
愚道
71056ac097
fix review issue
8 years ago
愚道
6d0a622fcd
fix reveiw issue add consistent-return rule
8 years ago
愚道
8cf518a865
use airbnb eslint config and fix some rule
8 years ago
愚道
81895705d9
use new alias @ which default set in umi
8 years ago
陈帅
d2de675e88
Modify a few logical errors
8 years ago
陈帅
36eeb6c169
localStorage -> sessionStorage
8 years ago
陈帅
cb3c382bc3
Features:Fetch increase cache
8 years ago
陈帅
4a201868c0
Optimization : add router.config.js
8 years ago
陈帅
b1ef8d423f
bugfix: Fix trigger page
8 years ago
rongxingsun
57fb525eee
localStorage array
localStorage array
8 years ago
xiaohu
d32d460a67
use global store
8 years ago
愚道
677621d7c1
mv index.* to global.*
8 years ago
yoyo837
c9d71c9102
抽取 getQueryPath 方法封装路径和查询参数拼接
8 years ago
yoyo837
63c8ceb200
兼容hash 路由模式
8 years ago
ubbcou
fdd6035f94
Increase the permission judgment: when the user's permission is an array.
8 years ago
yoyo837
372212941c
prettier
8 years ago
陈帅
533c091b3b
fix lint error
8 years ago
zhiyan
9b08f2ea3e
fix: isUrl func failed && support judge url with port
8 years ago
zbz
27a2353c93
修正DELETE请求方法request时body参数无效的BUG
8 years ago
Amumu
a06e795cce
fix #1593 ( #1616 )
8 years ago
jim
3086f7200f
fix eslint error
8 years ago
Kitten9533
e68f472b86
修复digitUppercase(2.01)返回为贰元整的,数字大写增加了“万亿” ( #1589 )
Fix digitUppercase (2.01) error returned as 贰元整
Signed-off-by: jiangjiahao <1173860556@qq.com>
8 years ago
chieveit
d9a25af83c
remove setting Content-Type when body is FormData
8 years ago
jim
6ef237e517
merge master
8 years ago
jim
645f7daf49
support perttier
8 years ago
ws456999
6225aa6d57
🐛 fix inner exact cover custom exact bug ( #1148 )
8 years ago
ddcat1115
e0cf61e26c
update userCenter
8 years ago
ddcat1115
aeda0d913e
User center ( #940 )
* temp save
* temp save
* user-center
8 years ago
ddcat1115
3f00025e4c
User center ( #940 )
* temp save
* temp save
* user-center
8 years ago
Guangshuo Chen
9994368533
let request.js be able to deal with FormData ( #884 )
* let request.js be able to deal with FormData
* Update request.js
* Update request.js
* Update request.js
* Update request.js
8 years ago
Reed Sun
9c4e9c1b39
Add period in the end for the tip which don't has period before. ( #877 )
* remove comma
* add period in the end for the tip which don't has before
8 years ago
陈帅
42c5de12f6
authority injection ( #702 )
* authority injection
* Delete nonsense
* Remove the login page guest role
* Formatted as eslint format
8 years ago
陈帅
3f2263d45a
fix parameters match warning ( #613 )
* fix parameters match warning
* Use path-to-regexp to match the path
* use regular expressions to match the path
* update doc
* add getSelectedMenuKeys
8 years ago
LiuTongTong
c06d16a1b3
减少属性访问 ( #731 )
* 减少属性访问
* Update request.js
8 years ago
jim
4893296e99
fix #697 when the menu path is url, the parent path is not spliced
8 years ago
陈帅
29e87b8659
Change trigger menu address Modify the starting error handling ( #675 )
* Change trigger menu address Modify the starting error handling
* add loginout redirect
* use select get pathname
8 years ago
jim
74b1e62e83
Change the default role to admin
8 years ago
ddcat1115
cfa27b1833
Authority management ( #508 )
* temp save
* rebase master
* fix same error
* Add a new user and different permissions
* fix eol-last
* add Secured decorator
* fix list redirect bug (#507 )
* Mobile menu (#463 )
* Increase the sliding menu
* Add a simple animation
* update mobile menu
* update
* update
* update
* rebase master
* recovery import/first
* fix error
* Fix some bugs
Change "ALL" to "NONE"
Remove the "!" Support
After landing successfully reload
Reset the format
* Pump your public logic
* add some test
* Add documents
* use default currentRole in Authorized/AuthorizedRoute
* rename props & change some authority setting
* A big change
😄 unified router and Secured parameters
😭 loginOut logout also changed to reload
* fix siderMeun bugs
* Decoupled SiderMenu
* Remove the handsome head of information
* Add a simple error
* rebase master
8 years ago
陈帅
838d8418f9
Increase global error handling ( #500 )
* Increase global error handling
* Increase global error handling
* fix bug
* rebase master
* Change 401 to 403
* add triggerException style.less
8 years ago
afc163
2885fa9518
better jsx-wrap-multilines eslint rule
8 years ago
ddcat1115
577ded4b34
Router config ( #442 )
* adjust menu and router config
* rebase master
* remove invalid breadcrumb item
* add nested layout
* Some improvements
* get name from menu.js
* - use HOC to pass routerData instead of context
8 years ago