@@ -112,7 +112,6 @@ const requestInterceptor = (url: string, options: RequestOptionsInit) => {
export const request: RequestConfig = {
errorHandler: (error: any) => {
const { response } = error;
-
if (response.status === 401) {
history.push('/user/login');
return;
@@ -13,6 +13,7 @@
height: 40px;
line-height: 44px;
text-align: right;
+
:global(.ant-dropdown-trigger) {
margin-right: 24px;
}
@@ -43,6 +44,7 @@
.header {
height: 44px;
a {
text-decoration: none;
@@ -102,6 +104,7 @@
margin-top: 24px;
line-height: 22px;
text-align: left;
.register {
float: right;