@uxda/appkit 4.2.62 → 4.2.63

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.
package/dist/index.js CHANGED
@@ -6042,6 +6042,10 @@ var script$9 = /* @__PURE__ */ defineComponent({
6042
6042
  });
6043
6043
  if (res.tempFilePaths) {
6044
6044
  const filePath = res.tempFilePaths[0];
6045
+ if (Taro.getEnv() === "WEB") {
6046
+ updateImage(filePath);
6047
+ return;
6048
+ }
6045
6049
  emits("crop", filePath);
6046
6050
  }
6047
6051
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.2.62",
3
+ "version": "4.2.63",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -204,6 +204,11 @@ async function toUpload() {
204
204
  if (res.tempFilePaths) {
205
205
  const filePath = res.tempFilePaths[0];
206
206
 
207
+ if (Taro.getEnv() === "WEB") {
208
+ updateImage(filePath);
209
+ return
210
+ }
211
+
207
212
  emits("crop", filePath);
208
213
  }
209
214
  }