GithubHelp home page GithubHelp logo

Upload 在选择要上传的图片的时候,通过系统功能切换后缀后选择 非accept内的文件上传时,无响应 about arco-design HOT 2 CLOSED

bestlyg avatar bestlyg commented on June 1, 2024
Upload 在选择要上传的图片的时候,通过系统功能切换后缀后选择 非accept内的文件上传时,无响应

from arco-design.

Comments (2)

MaplePudding avatar MaplePudding commented on June 1, 2024

无响应是指组件卡死吗,我这边尝试复现只是无法上传,没有error

from arco-design.

bestlyg avatar bestlyg commented on June 1, 2024

不是指组件卡死。
比如说用这串代码,打开文件选择框后,利用extraInfo里的功能切换到所有文件,此时可以选择任意文件,不受到accept的限制,当我选择了一个pdf文件的时候,是允许选择的,但是确定后整个页面不会有任何响应,因为他不是accept中的文件,被Upload中的isAcceptFile函数拦截掉了。

from arco-design.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.