chore(nc-gui): remove unnecessary async

This commit is contained in:
Wing-Kam Wong
2023-01-23 17:27:33 +08:00
parent 8aef163e46
commit c1d1ffcd8f

View File

@@ -64,7 +64,7 @@ function onRemoveFileClick(title: any, i: number) {
okText: 'Yes',
okType: 'danger',
cancelText: 'No',
async onOk() {
onOk() {
try {
removeFile(i)
} catch (e: any) {