完成文件上传功能

This commit is contained in:
539943419 committed 2024-08-11 16:02:23 +08:00
1 parent e840e4eb5a
commit 4f477c99d1
14 files changed
+600 -172

No files matched your search

@@ -50,9 +50,13 @@ const time = computed(()=>{
})
const dropDownOptions = computed(()=> {
const options = []
const options = [{
label: '删除',
key: 'delete'
}]
if(itemType.value === 'file'){
options.push(...[{
options.push(...[
{
label: '下载',
key: 'download',
}
@@ -135,6 +139,7 @@ const handleDragStart = () => {
.item-main-icon {
margin-left: 10px;
height: 80%;
color: #00403e;
}
.item-main-info {
margin-left: 10px;
+3 -1
View File
@@ -1,7 +1,9 @@
<template>
<transition name="transition">
<div class="mask-body" ref="maskBodyRef" v-show="showMask">
<slot> {{}} </slot>
<div @click="e=>e.stopPropagation()">
<slot> {{}} </slot>
</div>
</div>
</transition>
</template>