提交 ad1e56be 编写于 作者: M mahaifeng

[provider]添加getProviderSync 示例

上级 1af09aed
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册