update upload function

This commit is contained in:
Mohamed Nouffer
2021-09-13 15:13:15 +05:30
parent 5b924cddc9
commit bcd08f69e4

View File

@ -26,7 +26,7 @@ function Uploader(props) {
function onClickHandler(e) {
const data = new FormData()
data.append('email', props.email);
data.append('file', file);
// data.append('file', file);
const chk = file.name.trim();
const collator = new Intl.Collator('ja');
const order1 = collator.compare('ini_工程内検査票.xlsx', chk);