@dazhicheng/ui 1.5.38 → 1.5.39

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8084,7 +8084,7 @@ const yI = /* @__PURE__ */ he({
8084
8084
  const g = B(() => i.value.length > e.gridThreshold), h = B(() => e.limit ?? 0), p = B(() => e.uploadOssApi ?? De.uploadOssApi), m = B(() => !!p.value);
8085
8085
  async function v(k, Q) {
8086
8086
  var be;
8087
- const x = `${Date.now()}_${k.name}`, L = new FormData();
8087
+ const x = `${Q.dir}/${Date.now()}_${k.name}`, L = new FormData();
8088
8088
  L.append("key", x), L.append("policy", Q.policy), L.append("x-oss-signature-version", Q.version), L.append("x-oss-signature", Q.signature), L.append("x-oss-credential", Q.x_oss_credential), L.append("x-oss-date", Q.x_oss_date), L.append("x-oss-security-token", Q.security_token), Q.callback && L.append("callback", Q.callback), L.append("success_action_status", "200"), L.append("file", k);
8089
8089
  const F = await fetch(Q.host, {
8090
8090
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dazhicheng/ui",
3
- "version": "1.5.38",
3
+ "version": "1.5.39",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",