feat: 新增文件上传组件等

This commit is contained in:
wenhua
2024-05-12 01:29:49 +08:00
parent 3ba7845893
commit ce2752af9b
4 changed files with 101 additions and 2 deletions

View File

@@ -8,6 +8,8 @@
<script setup lang="jsx">
import fvSelect from '@/fvcomponents/fvSelect/index.vue'
import { markRaw } from 'vue';
import FileUpload from './components/FileUpload.vue';
const localData = reactive({
form: null
@@ -154,6 +156,18 @@ const schame = computed(()=>{
span: 24
}
},
{
label: '',
prop: 'fileList',
component: markRaw(FileUpload),
props: {
url: '',
tip: '上传txt文件'
},
colProps: {
span: 24
}
}
]
return arr
})