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