@@ -10,7 +10,7 @@
>
<ProFrom ref="proFormRef" :items-options="parameter.itemsOptions" :form-options="_options" :model="parameter.model">
<template #modelAddress="{}">
- <FileUpload :file-size="4096" :file-type="['.pt']" />
+ <FileUpload :file-size="4096" :file-type="['pt']" />
</template>
</ProFrom>
<template #footer>
@@ -175,7 +175,6 @@ const uploadSuccess = (response: any | undefined, uploadFile: UploadFile) => {
// 上传结束处理
const uploadedSuccessfully = () => {
- debugger
if (number.value > 0 && uploadList.value.length === number.value) {
_fileList.value = _fileList.value.filter(f => f.url !== undefined).concat(uploadList.value)
uploadList.value = []
@@ -153,7 +153,6 @@ const roleOptions = ref<any[]>([])
// 打开弹框的功能
const openDialog = async (type: number, title: string, row?: any) => {
let res = await getUserApi(row?.userId || null)
postOptions.value = res.data.posts
roleOptions.value = res.data.roles
// 表单项配置