diff --git a/src/components/Select.tsx b/src/components/Select.tsx index fdb3672..af4af7b 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -28,11 +28,11 @@ const SingleValue: React.FC = ({ selectProps, data }) => { }; export interface SelectProps { - isSearchable: boolean; - isClearable: boolean; - isDisabled: boolean; - isLoading: boolean; - isLogin: boolean; + isSearchable?: boolean; + isClearable?: boolean; + isDisabled?: boolean; + isLoading?: boolean; + isLogin?: boolean; name?: string; onChange?: any; onBlur?: any; diff --git a/src/components/UploadFile/FileService.ts b/src/components/UploadFile/FileService.ts index e60f4bd..7c80149 100644 --- a/src/components/UploadFile/FileService.ts +++ b/src/components/UploadFile/FileService.ts @@ -95,6 +95,7 @@ const httpTransfer = axios.create({ timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', + 'Content-Type': 'application/json' // 'Content-Type': 'application/json', // 'X-Requested-With': 'XMLHttpRequest', });