diff --git a/src/components/BasicForm/src/BasicForm.vue b/src/components/BasicForm/src/BasicForm.vue
index a39623d..7050f3f 100644
--- a/src/components/BasicForm/src/BasicForm.vue
+++ b/src/components/BasicForm/src/BasicForm.vue
@@ -1,5 +1,5 @@
-
diff --git a/src/components/UploadFile/src/Preview.vue b/src/components/UploadFile/src/Preview.vue
new file mode 100644
index 0000000..db78c27
--- /dev/null
+++ b/src/components/UploadFile/src/Preview.vue
@@ -0,0 +1,11 @@
+
+
+ 1
+
+
+
+
diff --git a/src/components/UploadFile/src/UploadFile.vue b/src/components/UploadFile/src/UploadFile.vue
index 4067be5..a12b07b 100644
--- a/src/components/UploadFile/src/UploadFile.vue
+++ b/src/components/UploadFile/src/UploadFile.vue
@@ -8,10 +8,11 @@
v-model:file-list="fileList"
:show-file-list="true"
:auto-upload="autoUpload"
- :action="updateUrl+'?tableId='+upData?.tableId+'&tableName='+ upData?.tableName"
+ :action="updateUrl + '?tableId=' + upData?.tableId + '&tableName=' + upData?.tableName"
:headers="uploadHeaders"
:limit="props.limit"
:drag="drag"
+ :accept="fileType.join(',')"
:before-upload="beforeUpload"
:on-exceed="handleExceed"
:on-success="handleFileSuccess"
@@ -26,8 +27,9 @@
大小不超过 {{ fileSize }}MB
- 格式为 {{ fileType.join('/') }} 的文件
+ 格式为 {{ fileType.join(',') }} 的文件
+
@@ -38,6 +40,7 @@