@corgicoding/permission-hook
TypeScript icon, indicating that this package has built-in type declarations

2.0.4 • Public • Published

@corgicoding/permission-hook

@corgicoding/web-quick-start 工程模板设定的组件库 权限功能方法

逻辑

通过判断是否有以下两种参数,否则返回默认 axios

  1. axios-instance 参数 inject
  2. 获取当前页面是否挂载了全局 $http

Package Sidebar

Install

npm i @corgicoding/permission-hook

Weekly Downloads

3

Version

2.0.4

License

Apache-2.0

Unpacked Size

2.91 kB

Total Files

6

Last publish

Collaborators

  • charleschan2016