diff --git a/sample/tool.ts b/sample/tool.ts index 81c5a718..8e498295 100644 --- a/sample/tool.ts +++ b/sample/tool.ts @@ -17,7 +17,7 @@ const config = new qiniu.conf.Config({ zone: qiniu.zone.Zone_z1 }); const formUploader = new qiniu.form_up.FormUploader(config); const putExtra = new qiniu.form_up.PutExtra( '', - '', + {}, 'text/plain; charset=utf-8', ); // 文件上传