fix(components): [update] fix onChange hook called twice (#6885)

second trigger is input.onchange event, because props has onChange bug not define in upload-content.vue props
This commit is contained in:
LYlanfeng 2022-03-31 14:42:20 +08:00 committed by GitHub
parent d3756d941e
commit c88e163931
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,7 @@ import type {
defineOptions({
name: 'ElUploadContent',
inheritAttrs: false,
})
const props = defineProps(uploadContentProps)