From 0bafa6aa253c9ef6f5cb24e9a24c5282860e4c59 Mon Sep 17 00:00:00 2001
From: zhangback <zhangback@163.com>
Date: 星期一, 30 三月 2026 11:44:37 +0800
Subject: [PATCH] 新增线上配置
---
ui/car_wx_app/common/upload.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/car_wx_app/common/upload.js b/ui/car_wx_app/common/upload.js
index 79a3132..e642608 100644
--- a/ui/car_wx_app/common/upload.js
+++ b/ui/car_wx_app/common/upload.js
@@ -26,7 +26,7 @@
// } else {
uni.compressImage({
src: imgUrl,
- quality:0.6,
+ quality:75,
success: (res) => {
// uploadFile(res.tempFilePath, uploadUrl, resolve, reject);
const compressedUrl = res.tempFilePath;
@@ -126,7 +126,7 @@
icon: "error",
duration: 2000
})
- reject("涓婁紶澶辫触");
+ reject(err);
},
});
--
Gitblit v1.8.0