From ff32a718042fdedc09d26d5125f670a5029fef3e Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Tue, 9 Dec 2025 18:21:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=AE=9A=E4=BD=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/wechat.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/utils/wechat.js b/src/utils/wechat.js index 96ef285..4dee6e9 100644 --- a/src/utils/wechat.js +++ b/src/utils/wechat.js @@ -259,7 +259,12 @@ export const WechatLocation = { }, fail: (error) => { console.log('error',error) - // reject(error); + resolve(null); + }, + complete(res) { + if(res.errMsg){ + resolve(null); + } } }); });