fix: chrome 117 onCancel event (#6991)

pull/7025/head
果冻橙 1 year ago committed by GitHub
parent 3084ced55f
commit c99e9b00bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -302,6 +302,7 @@ export default defineComponent({
type="file"
ref={fileInput}
onClick={e => e.stopPropagation()} // https://github.com/ant-design/ant-design/issues/19948
onCancel={e => e.stopPropagation()}
key={uid.value}
style={{ display: 'none' }}
accept={accept}

Loading…
Cancel
Save