提交 bb602168 编写于 作者: D DCloud_LXH

chore: uni.getProvider providers.isAppExist

上级 7c38380d
......@@ -94,7 +94,11 @@ export const getProvider = defineAsyncApi<API_TYPE_GET_PROVIDER>(
if (Object.hasOwnProperty.call(provider, key)) {
const item = provider[key as keyof Service]
if (!isFunction(item) && typeof item !== 'undefined') {
;(returnProvider as any)[key] = item
const _key =
key === 'nativeClient' || key === 'serviceReady'
? 'isAppExist'
: key
;(returnProvider as any)[_key] = item
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册