Matt Ortiz
eb82790cc0
🌎 localization: docs translated to english ( #7938 )
* docs translated to english
* fix doc
Co-authored-by: Matt Ortiz <mattortiz@matts-mbp.lan>
Co-authored-by: chenshuai2144 <qixian.cs@outlook.com>
5 years ago
陈帅
0e8d233187
💥 feat: @umijs/route-utils replace getAuthorityFromRouter ( #7319 )
* 💥 feat: @umijs/route-utils replace getAuthorityFromRouter
* fix test
* remove unuse code
6 years ago
zacks
bb040b1946
fix(utils): 外链菜单权限判断报错 ( #6625 )
6 years ago
陈帅
6412fd6c35
➕ dependency: up prettier package.json ( #6184 )
6 years ago
NarApp
d52c453965
fixes/Route Recursive Authority #5931 ( #5933 )
* fixes/Route Recursive Authority #5931
* fixes/Route Recursive Authority
6 years ago
chenshuai2144
4e62a9f278
lint: fix ts error
6 years ago
Ding Yi
1f56b902f3
fix: authority covered by routes behind ( #5723 )
* fix: authority covered by later route
* fix: update code style
6 years ago
陈帅
cc44e8ea74
bugfix: fix Authorized router ( #5452 )
7 years ago
陈帅
ad5db1c268
feat: 💪 add login page ( #5088 )
* add login in pro
* update menu down
* add isReady
* fix lint
* fix menu style
7 years ago
陈帅
277ea60169
fix ts file error for eslint ( #4336 )
* fix ts file error for eslint
* add format-imports script
* sort all code
* remove lint:ts
* remove tslint
* remove lint:ts
* up layout
* remove a empty test
* rm tslint config
* use umi config
* prettier all code
* use @umijs/fabric
* [CodeFactor] Apply fixes to commit 69d4f9a
[ci skip] [skip ci]
7 years ago
陈帅
07adcdc558
fix cr warning
7 years ago
陈帅
dc5053053f
add return type
7 years ago
陈帅
56fff6aa80
edit style
7 years ago
陈帅
41719aa59f
V4 fetch block ( #4238 )
* first step
* fix local error
* commit
* test serve
* fix test
* sort package.json
* fix typo
* fix pageHeader error
* new style
* change script name
* fix copy block url style
* new copy code style
* add loginout
* auto insert pro code
* use new layout
* add locale to copy button
7 years ago
何乐
0bc812b763
[v4] Strict ts ( #3723 )
* short-term use of tslint
* fix lint error
* connect & dispatch definition
* replace `SFC` with `FunctionComponent`
* SiderMenu
* TopNavHeader
* HeaderSearch
* components
* layouts
* layouts
* pages
* fix authorize fail
* SettingDrawer
* remove one `as any`
7 years ago
陈小聪
1abac6a331
[v4] transform typescript ( #3702 )
* merge v3 to v4
* src/components/IconFont
* src/components/PageLoading
* src/components/SelectLang
* src/components/SettingDrawer
* remove e2e and test
* src/components/TopNavHeader
* src/components/GlobalHeader
* src/components/HeaderDropdown
* src/components/HeaderSearch
* src/components/TopNavHeader
* fix error
* mock
* move defaultSettings
* global.txs
* src/locales
* remove lint mock
* fix ci test error
* change PureComponent to Component, interface IDefaultSettings
* Don't prefix interface with I
Close : #3706
* strictNullChecks set true
7 years ago
陈帅
10ef3eaf08
pref: optimize performance ( #3542 )
* pref: optimize performance
* pref: use less img
* pref: use less img
7 years ago
愚道
9e862bee83
remove useless util and move e2e outside
7 years ago
kennylbj
def48f12f4
Fix formatWan style ( #3036 )
7 years ago
happy wang
edb2151629
fix typo,styles edit to style
样式属性是`style`而不是`styles`
7 years ago
afc163
67fccc3529
Add comment
7 years ago
afc163
0f15cfc9e7
Fix authority reading and add test case
8 years ago
陈帅
77d714f2f0
fix authority parse error
8 years ago
陈帅
5fcbc84c46
Replace your own algorithm with nzh
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
yoyo837
c9d71c9102
抽取 getQueryPath 方法封装路径和查询参数拼接
8 years ago
yoyo837
63c8ceb200
兼容hash 路由模式
8 years ago
yoyo837
372212941c
prettier
8 years ago
zhiyan
9b08f2ea3e
fix: isUrl func failed && support judge url with port
8 years ago
Amumu
a06e795cce
fix #1593 ( #1616 )
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
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
陈帅
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
jim
4893296e99
fix #697 when the menu path is url, the parent path is not spliced
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
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
WhatAKitty
31af67c2d0
Fix dynamic component remount #114 #150 ( #184 )
8 years ago
nikogu
65dc73e3cf
fixed time select invalid in safari
9 years ago
ddcat1115
9c0b6752d3
update style & add digitUppercase util
9 years ago
ddcat1115
cfc0aea567
Dva@2 ( #13 )
* temp save
* upgrade to dva@2
* update
* fix ci
* remove useless Link & add missing `to` prop setting
9 years ago
偏右
2d1148ebe5
Add UI Test ( #10 )
* Add jest and enzyme
* Add test for connected component
* fix lint
* update travis
* Add e2e test
* fix ci
* Add e2e test
* update travis.yml
* Fix global jasmine timeout
* update test scripts
* fix jest glob patterns
* short timeout
* fix travis
* uitest => unit-test
* Add ls in travis.yml
* use electron on travis
https://github.com/segmentio/nightmare/issues/313#issuecomment-152274351
* clear travis.yml
* change setup file name
* ignore coverage
* unit-test => unit
* remove helpers/visit
* update test script
* clean up test scripts
* ignore test case
9 years ago