优化提示
This commit is contained in:
parent
bd9ed38430
commit
14c1e6782b
|
|
@ -148,6 +148,10 @@ const SharedFilesModel = forwardRef((props: any, ref: any) => {
|
|||
}} /> : null}
|
||||
<Button type="primary" style={{ backgroundColor: '#31353A' }}
|
||||
onClick={() => {
|
||||
if (isUpFile) {
|
||||
message.error('文件上传中,请稍后上传。')
|
||||
return
|
||||
}
|
||||
const file = document.createElement("input") as any;
|
||||
file.type = "file";
|
||||
file.onchange = async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue