From b9ff00d38fae74b069d35cbc186be1b2fccbca01 Mon Sep 17 00:00:00 2001
From: mahaifeng <mahaifeng@dcloud.io>
Date: Mon, 22 Jul 2024 12:19:07 +0800
Subject: [PATCH] =?UTF-8?q?[provider]=E8=A1=A5=E5=85=85=E7=A4=BA=E4=BE=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 pages/API/provider/provider.uvue | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pages/API/provider/provider.uvue b/pages/API/provider/provider.uvue
index 2cab8cda..9a848975 100644
--- a/pages/API/provider/provider.uvue
+++ b/pages/API/provider/provider.uvue
@@ -85,7 +85,10 @@
 							console.log(obj)
 							console.log(JSON.stringify(obj))
 							value.providerObj.push(obj)
-
+              if(obj instanceof  UniPaymentWxpayProvider ){//判断微信是否安装
+               var isWeChatInstalled = (obj as UniPaymentWxpayProvider).isWeChatInstalled
+               console.log(isWeChatInstalled)
+              }
 							// #ifdef APP-IOS
 							const providerObjMap = this.getProviderObjectMap(obj)
 							console.log(providerObjMap)
-- 
GitLab