提交 e8a6308f 编写于 作者: d-u-a's avatar d-u-a

chore(getProvider): 移除过滤方法逻辑

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