Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qr-consistency-vue3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
qr-consistency-vue3
Commits
f31cd69d
Commit
f31cd69d
authored
Apr 28, 2025
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(上传文件组件): 修改
parent
a1b6b4a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
index.vue
src/components/FileUpload/index.vue
+1
-4
No files found.
src/components/FileUpload/index.vue
View file @
f31cd69d
...
@@ -6,7 +6,6 @@
...
@@ -6,7 +6,6 @@
:action=
"uploadFileUrl"
:action=
"uploadFileUrl"
v-if=
"!disabled"
v-if=
"!disabled"
:before-upload=
"handleBeforeUpload"
:before-upload=
"handleBeforeUpload"
:on-change=
"handleFileChange"
:file-list=
"fileList"
:file-list=
"fileList"
:limit=
"limit"
:limit=
"limit"
:on-error=
"handleUploadError"
:on-error=
"handleUploadError"
...
@@ -136,9 +135,7 @@ watch(
...
@@ -136,9 +135,7 @@ watch(
},
},
{
deep
:
true
,
immediate
:
true
},
{
deep
:
true
,
immediate
:
true
},
)
)
// function handleFileChange(file){
//
// }
// 上传前校检格式和大小
// 上传前校检格式和大小
function
handleBeforeUpload
(
file
)
{
function
handleBeforeUpload
(
file
)
{
// 校检文件类型
// 校检文件类型
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment