fix: delete confirm callback

This commit is contained in:
kissudad@outlook.com 2024-04-10 14:12:05 +08:00 committed by llxxxdd
parent a087826d51
commit 3de1c4f0ca

View File

@ -48,15 +48,15 @@ export default {
"selectedCount",
"req",
"selected",
"currentPrompt",
]),
...mapState(useLayoutStore, ["currentPrompt"]),
...mapWritableState(useFileStore, ["reload"]),
},
methods: {
...mapActions(useLayoutStore, ["closeHovers"]),
submit: async function () {
buttons.loading("delete");
window.sessionStorage.setItem("modified", "true");
try {
if (!this.isListing) {