baidu / baidu/amis

InputImage 上传图片之后,然后其他联动的选项切换之后这个图片大小的限制就变了,但是这个图片的大小校验就不会再次触发了

Open
#8,690 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

![image](https://github.com/baidu/amis/assets/16274637/4ce7c013-f258-4640-96e6-3a1ca35c30ae)
就是切换我的,应用中心这两个选项之后 下面的这个图片大小是不一样的,但是开始已经上传通过了就不会再次校验了, 两次的图片要求大小,一次是56*56 一次是60*60

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the InputImage case described in the issue: upload an image, then switch between the linked options whose constraints are 56×56 and 60×60. Trace how the constraint changes and when image-size validation runs. Done means the already-uploaded image is checked again after the option switch and invalid dimensions are reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.