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

vue2版本 Array数组中设置upload组件ui-options:before-upload,怎么获取当前array的index #367

Open
miaguoxiaomin-v opened this issue Sep 19, 2024 · 0 comments

Comments

@miaguoxiaomin-v
Copy link

vue和ui框架

vue2. element-ui

问题描述

1.Array数组中,设置upload组件ui-options:before-upload,在before-upload中给formdata赋值,但是拿不到index ,请问怎么获取当前array的index。
2.同样,Array数组中,使用upload组件ui-options:fileList,怎么设置文件信息

如何复现

image

期望的结果

期望能拿到index

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