Commit b32b2ffc authored by cellee's avatar cellee

Merge branch 'final' of http://120.77.240.215:9701/Maple/tostumi.git into final

parents 55a80bad 46a718d6
...@@ -29,8 +29,10 @@ const ResultPageFailed = () => { ...@@ -29,8 +29,10 @@ const ResultPageFailed = () => {
<div style={{ width: '100%', minWidth: 1020, padding: 34, backgroundColor: '#ffffff' }}> <div style={{ width: '100%', minWidth: 1020, padding: 34, backgroundColor: '#ffffff' }}>
<Result <Result
status="error" status="error"
title="Error submit the file!" title="Errors occur during uploading!"
subTitle={<p>server has been handled it ,please try again or back.</p>} subTitle={
<p>Please download the file to review user information & try to upload again! </p>
}
extra={[ extra={[
<Button type="primary" key="ok" onClick={handleDownload}> <Button type="primary" key="ok" onClick={handleDownload}>
{flag ? ( {flag ? (
......
...@@ -102,7 +102,7 @@ const Users = (props: any) => { ...@@ -102,7 +102,7 @@ const Users = (props: any) => {
return false; return false;
} }
if ( if (
file.type !== 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' || file.type !== 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' &&
file.type !== 'application/vnd.ms-excel' file.type !== 'application/vnd.ms-excel'
) { ) {
message.error(`${file.name} file format is incorrect!`); message.error(`${file.name} file format is incorrect!`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment