@sheinx/hooks 3.10.0-beta.15 → 3.10.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52,7 +52,7 @@ export interface UseUploadProps<ValueItem = any> {
52
52
  headers?: ObjectType;
53
53
  /**
54
54
  * @en The filename received by the server. If it is not filled in, use the name.
55
- * @cn 服务端接收的 filename,不填使用 name
55
+ * @cn 服务端接收的 filename,取值规则是: htmlName ?? name ?? "file"
56
56
  */
57
57
  htmlName?: string;
58
58
  /**
@@ -52,7 +52,7 @@ export interface UseUploadProps<ValueItem = any> {
52
52
  headers?: ObjectType;
53
53
  /**
54
54
  * @en The filename received by the server. If it is not filled in, use the name.
55
- * @cn 服务端接收的 filename,不填使用 name
55
+ * @cn 服务端接收的 filename,取值规则是: htmlName ?? name ?? "file"
56
56
  */
57
57
  htmlName?: string;
58
58
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/hooks",
3
- "version": "3.10.0-beta.15",
3
+ "version": "3.10.0-beta.16",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",