fix: 修复keys文件上传同一文件无法上传
This commit is contained in:
parent
f264ac900f
commit
b03f7795a6
|
@ -216,6 +216,7 @@ const UseUploadExcel = (props) => {
|
||||||
type="file"
|
type="file"
|
||||||
accept=".xls,.xlsx,.csv"
|
accept=".xls,.xlsx,.csv"
|
||||||
className="upload-input"
|
className="upload-input"
|
||||||
|
onClick={(e) => (e.target.value = "")}
|
||||||
onChange={(e) => fileChange(e)}
|
onChange={(e) => fileChange(e)}
|
||||||
/>
|
/>
|
||||||
<Button
|
<Button
|
||||||
|
@ -269,6 +270,7 @@ const UseUploadExcel = (props) => {
|
||||||
type="file"
|
type="file"
|
||||||
accept=".xls,.xlsx,.csv"
|
accept=".xls,.xlsx,.csv"
|
||||||
className="upload-input1"
|
className="upload-input1"
|
||||||
|
onClick={(e) => (e.target.value = "")}
|
||||||
onChange={(e) => fileChange(e)}
|
onChange={(e) => fileChange(e)}
|
||||||
/>
|
/>
|
||||||
<Icon type="up-circle-o" />
|
<Icon type="up-circle-o" />
|
||||||
|
|
Loading…
Reference in New Issue