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
目前的版本自定义传参无效 经过我不断调试找到了问题 气死 路径 \node_modules_qiniu@7.4.0@qiniu\qiniu\storage\form.js
postForm.field(k, putExtra.params[k].toString()); 改为 postForm.field(x-qn-meta-${k.split('x:')[1]}, putExtra.params[k].toString());
x-qn-meta-${k.split('x:')[1]}
The text was updated successfully, but these errors were encountered:
fix upload lost metadata(#389)
76d69b9
dba7a54
add metadata support for upload(#389)
871e1b4
- fix upload lost metadata - fix resume_up.PutExtra constructor in index.d.ts
putExtra.params 是自定义变量而非元数据。
putExtra.params
nodejs-sdk 之前不支持上传时添加元数据,新的 PR 已进行支持。
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
目前的版本自定义传参无效
经过我不断调试找到了问题 气死
路径 \node_modules_qiniu@7.4.0@qiniu\qiniu\storage\form.js
postForm.field(k, putExtra.params[k].toString());
改为
postForm.field(
x-qn-meta-${k.split('x:')[1]}
, putExtra.params[k].toString());The text was updated successfully, but these errors were encountered: