fix: deleteFile
This commit is contained in:
parent
b600fcf940
commit
7be84e9953
2 changed files with 11 additions and 7 deletions
|
|
@ -394,7 +394,7 @@ async function submitFileForm(
|
|||
@confirm="
|
||||
() =>
|
||||
deleteFormType &&
|
||||
(deleteFolder(deleteFormPath), deleteFile(deleteFormPath))
|
||||
{ deleteFolder, deleteFile }[deleteFormType](deleteFormPath)
|
||||
"
|
||||
/>
|
||||
</template>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue