Coder Social home page Coder Social logo

Upload功能增强评审 about bat-ria HOT 6 CLOSED

chestnutchen avatar chestnutchen commented on July 22, 2024
Upload功能增强评审

from bat-ria.

Comments (6)

Justineo avatar Justineo commented on July 22, 2024

返回 fail 的时候为啥要这么复杂呢,看上去只需要一个 "message": "出错信息" 就行了吧?

from bat-ria.

Justineo avatar Justineo commented on July 22, 2024

对后端返回的结构体增加content,type,width,height,size,extraInfo的提取

这个除了 type / width / content 在预览图片/Flash 的时候有用,其他的字段还能做啥处理?

from bat-ria.

chestnutchen avatar chestnutchen commented on July 22, 2024

恩,fail那个用一个简洁点~~~

from bat-ria.

chestnutchen avatar chestnutchen commented on July 22, 2024

flash的话height也要的吧,size要不就放到extra里边好了,说不定有需求呢?extra是给业务端自定义获取的,这个想法不知道对不对

from bat-ria.

Justineo avatar Justineo commented on July 22, 2024

不是,我的意思是你在控件里无法处理的内容,就不要管他是啥了,提供个接口可以在上传完成以后读到,就行了。

from bat-ria.

Justineo avatar Justineo commented on July 22, 2024

还有个需求,现在 Uploaderargs 参数没有对应的 repaint,需要增加一下。否则在初始化以后再修改 args 不会生效。

from bat-ria.

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.