Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[t-upload] uploadFiles实例方法传参无效 #3083

Open
Qnimal opened this issue Feb 7, 2024 · 1 comment
Open

[t-upload] uploadFiles实例方法传参无效 #3083

Qnimal opened this issue Feb 7, 2024 · 1 comment

Comments

@Qnimal
Copy link

Qnimal commented Feb 7, 2024

tdesign-vue 版本

1.9

重现链接

No response

重现步骤

通过refs调用实例的uploadFiles方法时,指定参数为[file:uploadFile] ,file为绑定的数组中的对应item,传入参数也会将所有status为waiting的文件全部上传

期望结果

No response

实际结果

No response

框架版本

2.6

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

使用的属性有
auto-upload false,format-response,request-method,theme="image-flow",accepet="image/*"

尝试过使用uploadAllFilesInOneRequest属性,但是调用实例uploadFiles并传入参数的情况下,在request-method对应回调中,仍没有达到筛选的效果,接收到的参数为所有待传文件。

临时使用变量记录的方式处理了,烦请看一下这个问题。

Copy link
Contributor

github-actions bot commented Feb 7, 2024

👋 @Qnimal,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant