We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
因为后台用的字段名写死了不好修改,只能前端去适配。
将 formData.append("file[]", validateResult[i]); 这里的 file[] 改为从 options.upload.fieldName 获取,缺省值可以为 file[],并且不建议与 multiple 连取,即当为 true 时自动在后面添加 [],还是由用户来处理。
如上。
无
The text was updated successfully, but these errors were encountered:
🎨 fix #562
4b586f7
Wonderfull !
Sorry, something went wrong.
Vanessa219
No branches or pull requests
你在什么场景下需要该功能?
因为后台用的字段名写死了不好修改,只能前端去适配。
描述可能的解决方案
将 formData.append("file[]", validateResult[i]); 这里的 file[] 改为从 options.upload.fieldName 获取,缺省值可以为 file[],并且不建议与 multiple 连取,即当为 true 时自动在后面添加 [],还是由用户来处理。
描述你认为的候选方案
如上。
其他信息
无
The text was updated successfully, but these errors were encountered: