providers.js 309 字节
Newer Older
fxy060608's avatar
fxy060608 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
const providers = {
  oauth: [],
  share: [],
  payment: [],
  push: []
}

if (qa.canIUse('getAccountProvider')) {
  providers.oauth.push(qa.getAccountProvider())
}

if (qa.canIUse('getVendorPaymentProvider')) {
  providers.payment.push(qa.getVendorPaymentProvider())
}

export default providers