cfel-base-components 2.5.78 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.tsx +3 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "2.5.78",
3
+ "version": "2.6.0",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
package/src/index.tsx CHANGED
@@ -8,7 +8,7 @@ import Account from './components/universal-pages/account'
8
8
  import AccountInfo from './components/universal-pages/accountInfo'
9
9
  import Role from './components/universal-pages/role'
10
10
  import RoleInfo from './components/universal-pages/roleInfo'
11
- import request from './apiRequest/config'
11
+ import request, { post, get } from './apiRequest/config'
12
12
  import iotRequest from './apiRequest/iotConfig'
13
13
  import { hosts } from './apiRequest/hosts'
14
14
  import CpcAccount from './components/universal-pages/cpcAccount' //cp列表c账号
@@ -29,6 +29,8 @@ export {
29
29
  Role,
30
30
  RoleInfo,
31
31
  request,
32
+ post,
33
+ get,
32
34
  iotRequest,
33
35
  hosts,
34
36
  getUrlParams,