Skip to content

[upload组件]windows下upload组件选取markdown文件无法获取其type信息 #7897

@sy0uta1k0n

Description

@sy0uta1k0n
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.5

Environment

windows, chrome

Steps to reproduce

  1. 新建一个upload组件
  2. 选取md后缀结尾文件
  3. mac环境下可以正确识别type='text/markdown' , 同一个文件在windows下type=''
  4. windows下右键文件属性, 其类型为Markdown File
  5. 其他类型pdf, docx等均可正常识别, 目前仅发现md有这个问题

What is expected?

windows也能正确识别文件类型

What is actually happening?

windows下type为空字符串

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions