陈小聪
e245efe0cb
change environment variables pro only ( #3951 )
* change environment variables pro only
* change notes
7 years ago
chen shuai
72ce098979
fix: fix #3746,there is only one loading now
7 years ago
陈小聪
2a70fe0d2a
Cancel default permissions ( #3693 )
7 years ago
陈小聪
d15923c9ee
Use Umi Permission Routing ( #3587 )
Use Umi Permission Routing
7 years ago
陈帅
16d9370d99
Login title ( #3564 )
* Added document title to UserLayout by identifying the current route object and using its name kaey to set the title
* Adjusment to document title
* feat: use same getPageTile function
7 years ago
陈小聪
837b8c232d
route authority attribute behavior no use while ( #3522 )
* route authority attribute behavior no use while
7 years ago
陈小聪
7c1e9d4192
Route authority attribute behavior ( #3514 )
7 years ago
Mike
18c1ac609e
fix: unresponsive collapse btn on mobile ( #3504 )
7 years ago
陈帅
189c5882c3
remove PureComponent ( #3470 )
* remove PureComponent
* fix typo
7 years ago
陈帅
8ce6a73cf0
feat: add new config "menu.enableLocale" ( #3310 )
* feat: add new config "layoutLocal"
* Use enableLayoutLocale instead of layoutLocale
* Use enableMenuLocale instead of enableMenuLocale
* use menu.disableLocal
7 years ago
onceyoung
fd116eeded
forEach should be used instead of map ( #3332 )
7 years ago
陈帅
09fbaa96c0
feat: add new config "title" ( #3309 )
7 years ago
Robin
268ea2bd1e
fix: 解决当 path 带有参数信息时,会导致权限判断失效 ( #3087 )
加上 router.path 为空的判断是因为我发现 routeData 会存在没有 path 的状况
Close : #3084
7 years ago
陈小聪
8bc421a7ad
🐛 fix route noAuthority nowork Close: 2998 ( #3052 )
7 years ago
Rayron Victor
5ee633ccc3
Layout header height correctly change when `@layout-header-height` change.
7 years ago
陈小聪
4b12cc9e03
🐛 fix : #2964 and fix 403page no work when refresh the page ( #2983 )
* 🐛 fix : #2964 and fix 403page no work when refresh the page
* 🐛 add getPageAuthority
* 当访问的路由都不在菜单内时,直接过滤掉会有其他问题
7 years ago
陈小聪
91be534a97
remove menu authorized ( #2911 )
* Close: https://github.com/ant-design/ant-design-pro/issues/2910
* remove menu authorized to menu-model
7 years ago
陈帅
2756251241
lazy Analysis ( #2927 )
* lazy Analysis
* lazy loading menu
* remove hard code
* fix style warning
* fix loading height waring
* fix offineData Loading error
* lazy load menu
* fix login test eroor
* fix #2950 ,fix topmeun error
* add args of puppeteer
* add layout=topmenu e2e test
7 years ago
Wei Zhu
15b499dc24
refactor: use a properer method name for menu data ( #2937 )
7 years ago
xiaoiver
3aa5031970
feat: support PWA features ( #2816 )
* feat: support PWA features
* fix: move to global.js
7 years ago
陈帅
3e9d2956bb
fix menu error
7 years ago
Mutrix
f3ec5fa9a6
bug: fix authorities of root route were not be injected in Authorized component ( #2861 )
7 years ago
陈帅
8b743adb2b
menu decoupling umi/local
8 years ago
陈帅
189accea44
fix #2503,fix 404 page error
8 years ago
陈帅
023984875f
fix #2488 , add matchParamsPath default value
8 years ago
陈帅
85d556d301
move menuData to state
8 years ago
陈帅
1dab3e29d7
Reduce menu renderings
8 years ago
kennylbj
2955f9a172
Fix typo
8 years ago
陈帅
608d599801
fix #2291 Increase authority judgment
8 years ago
afc163
f344342bfb
Show Drawer Setting in preview.pro.ant.design, close #2277
8 years ago
afc163
b91626801f
remove SettingDrawer in production, close #2240
8 years ago
杨加莹
62ab8b47c6
fix #2175 the Siderbar padding error on the mobile with fixSiderbar=true
8 years ago
陈帅
128c8ea25f
fix #2177 if collapsed is true, you need to click twice to display
8 years ago
afc163
cd6c61dba6
fix lint
8 years ago
拷钉
9a101efc23
remove getBashRedirect
8 years ago
陈帅
871020b6c2
Fix menu display problem under mobile phone
8 years ago
afc163
07e3f6329a
Fix typo, silderTheme => navTheme
8 years ago
陈帅
1f63d13dd1
Fix the problem that the menu is empty
8 years ago
afc163
9420791858
use this.props.routes replace import config
8 years ago
afc163
9b3ad051a8
fix menu data passing
8 years ago
afc163
c2fe400970
remove LoadingPage
8 years ago
afc163
3ea5106733
enable eslint import rules
8 years ago
愚道
8cf518a865
use airbnb eslint config and fix some rule
8 years ago
愚道
fc9c88a1fa
fix: add lint react/sort-comp rule and fix it
8 years ago
afc163
6efffad513
do not compile less in production
8 years ago
afc163
3fcd79a37a
Fix typo: SettingDarwer => SettingDrawer
8 years ago
陈帅
c961cca2cf
add settings drawer i18n
8 years ago
陈帅
b4858a6adf
fix #1945 and use Skeleton replace card
8 years ago
愚道
81895705d9
use new alias @ which default set in umi
8 years ago
Craxy Z
eca8d34d57
fix for in loop.
8 years ago