stefango
f0244af80e
fix: type error ( #8067 ) ( #8070 )
5 years ago
chenshuai2144
3777bfa2fc
use @umijs/fabric@2.5.0
5 years ago
毛松
b11aa409e7
feat: The network terminal also triggers an error message. #5096 ( #5112 )
* 解决客户端网络异常(如wifi断线)时,网络请求后无法触发notification.error的问题 #5096
* 解决客户端网络异常(如wifi断线)时,网络请求后无法触发notification.error的问题 #5096
7 years ago
陈帅
ddaa3e6c30
fix errorHandler no return
cc #4794
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
何乐
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
愚道
b069aa6b30
remove redirect when api error
7 years ago
愚道
b62816c423
update request comment
7 years ago
愚道
1464632707
use umi-request
7 years ago
Rayron Victor
e7c447ab34
Fix prettier glob ( #2673 )
* SelectLang: languages options don't need to be translated
* fix e2e tests when `PORT` is set in `.env`
* prettier: fix glob by adding single quotes.
* prettier: running prettier after glob fix
8 years ago
信鑫-King
4d4e419990
fix: request cache if pro site ( #2519 )
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
愚道
8cf518a865
use airbnb eslint config and fix some rule
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
陈帅
b1ef8d423f
bugfix: Fix trigger page
8 years ago
xiaohu
d32d460a67
use global store
8 years ago
愚道
677621d7c1
mv index.* to global.*
8 years ago
yoyo837
372212941c
prettier
8 years ago
zbz
27a2353c93
修正DELETE请求方法request时body参数无效的BUG
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
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
LiuTongTong
c06d16a1b3
减少属性访问 ( #731 )
* 减少属性访问
* Update request.js
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
陈帅
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
陈帅
94c236301b
Add clearer tips ( #475 )
* Add clearer tips
* fix some error
8 years ago
afc163
66d5996983
More notification when api failed
9 years ago
afc163
7efcab1b5f
return error always, ref #82
9 years ago
afc163
10e8c035d1
Fix API fetch error, close #82
9 years ago
nikogu
6470e034d1
close: https://github.com/ant-design/test2/issues/11
9 years ago
nikogu
d7ddf3ab8d
Extract scaffold to independent git repo
9 years ago