From ca97a7b15d91db4d16b3211b8641287fd09a4a6a Mon Sep 17 00:00:00 2001 From: TianYu <332368756@qq.com> Date: Mon, 29 May 2023 21:28:55 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-app/libs/pay.js | 4 ++-- yudao-ui-app/package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-ui-app/libs/pay.js b/yudao-ui-app/libs/pay.js index 5cd834dc5..0cb6eed53 100644 --- a/yudao-ui-app/libs/pay.js +++ b/yudao-ui-app/libs/pay.js @@ -66,9 +66,9 @@ const unityPay = (options) => { _options.aliPaySuccess(payConfig.body) break } - }).catch(() => { + }).catch((error) => { util.Tips({ - title: '预下单失败' + title: error }) }).finally(uni.hideLoading) } diff --git a/yudao-ui-app/package.json b/yudao-ui-app/package.json index b2e6b5ee9..a991192ef 100644 --- a/yudao-ui-app/package.json +++ b/yudao-ui-app/package.json @@ -28,7 +28,7 @@ "title": "生产版", "env": { "UNI_PLATFORM": "h5", - "isVConsole": true, + "isVConsole": false, "APP_BASE_URL": "http://api.cyywl.top" } }