Skip to content

Commit f27f8c9

Browse files
committed
reset choose files after successful upload
1 parent 30a5106 commit f27f8c9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/client/src/pages/Admin.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,11 @@ class Admin extends Component {
8585

8686
await this.handleGetFileList();
8787

88-
this.setState({isLoading: false});
88+
await this.setState({
89+
isLoading: false,
90+
filesInput: []
91+
});
92+
8993
};
9094

9195
async handleExecute(event) {

0 commit comments

Comments
 (0)