fix: upload exist dialog
This commit is contained in:
parent
f2be0f4af9
commit
5fc29cd8e5
1 changed files with 7 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import { useTreeDataStore, type TreeDataFolder } from '@/stores/tree-data'
|
||||||
import { useFileInfoStore } from '@/stores/file-info-data'
|
import { useFileInfoStore } from '@/stores/file-info-data'
|
||||||
import FileIcon from '@/components/FileIcon.vue'
|
import FileIcon from '@/components/FileIcon.vue'
|
||||||
import DialogDelete from '@/components/DialogDelete.vue'
|
import DialogDelete from '@/components/DialogDelete.vue'
|
||||||
|
import UploadExistDialog from './UploadExistDialog.vue'
|
||||||
import FileForm from './FileForm.vue'
|
import FileForm from './FileForm.vue'
|
||||||
import FolderForm from './FolderForm.vue'
|
import FolderForm from './FolderForm.vue'
|
||||||
|
|
||||||
|
|
@ -464,6 +465,12 @@ const onRowClick = (evt: Event, row: TreeDataFolder, index: number) => {
|
||||||
@submit="submitFolderForm"
|
@submit="submitFolderForm"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
<upload-exist-dialog
|
||||||
|
v-model:notification="fileExistNotification"
|
||||||
|
@confirm="() => currentParam && submitFileForm(currentParam, true)"
|
||||||
|
@cancel="() => (currentParam = undefined)"
|
||||||
|
/>
|
||||||
|
|
||||||
<dialog-delete
|
<dialog-delete
|
||||||
v-model:open="dialogDeleteState"
|
v-model:open="dialogDeleteState"
|
||||||
@confirm="
|
@confirm="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue