From ad1e56be135c68007d61c7981a6b39673ee1265b Mon Sep 17 00:00:00 2001 From: mahaifeng Date: Tue, 13 Aug 2024 17:11:37 +0800 Subject: [PATCH] =?UTF-8?q?[provider]=E6=B7=BB=E5=8A=A0getProviderSync=20?= =?UTF-8?q?=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 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/pages/API/provider/provider.uvue b/pages/API/provider/provider.uvue index 2acaf988..4795b148 100644 --- a/pages/API/provider/provider.uvue +++ b/pages/API/provider/provider.uvue @@ -56,15 +56,6 @@ this.serviceList.forEach((item : ProviderItem) => { var provider = uni.getProviderSync({ service: item.service, - // success: (e) => { - // // e.providerIds.forEach((value) => { - // // this.providerIds.push(value) - // // }) - // // this.updateProvider(item.service, e.providerIds, e.providerObjects); - // }, - // fail: (e) => { - // console.log("获取provider失败:", e); - // } } as GetProviderSyncOptions) provider.providerIds.forEach((value) => { this.providerIds.push(value) @@ -159,4 +150,4 @@ .btn-get-provider { margin-top: 30px; } - \ No newline at end of file + -- GitLab