cfel-base-components 0.0.23 → 0.0.25

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.
@@ -14,7 +14,7 @@
14
14
  <div id="root"></div>
15
15
  <script>
16
16
  window.g_config = {
17
- token: "7718735d-6131-4d96-8e3e-b40e494cd98c",
17
+ token: "111f1bf4-600b-4e47-815b-b739d5398c91",
18
18
  tenant: {
19
19
  id: 1674706582226763778,
20
20
  corpId: "dingc9dbc42450ccf06e4ac5d6980864d335",
@@ -24,12 +24,12 @@ const App = () => {
24
24
  // </Layout >
25
25
  <>
26
26
 
27
- <Account></Account>
27
+ {/* <Account></Account> */}
28
28
 
29
29
  {/* <AccountInfo /> */}
30
30
  {/* <Role ></Role> */}
31
31
 
32
- {/* <RoleInfo/> */}
32
+ <RoleInfo/>
33
33
  </>
34
34
  );
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  export const hosts: any = {
2
2
  iot: {
3
3
  "daily": "https://lios-iot-daily.chengfengerlai.com",
4
- "product": ""
4
+ "product": "https://lios-iot.chengfengerlai.com"
5
5
  }
6
6
  }
@@ -20,6 +20,7 @@ export default function index({
20
20
 
21
21
  useEffect(() => {
22
22
  form.resetFields()
23
+ if(open)queryByKeywordSearch('')
23
24
  }, [open])
24
25
 
25
26
  const editModelOpen = (type: boolean) => {
package/src/index.tsx CHANGED
@@ -9,7 +9,7 @@ import Role from './components/role'
9
9
  import RoleInfo from './components/roleInfo'
10
10
  import request from './apiRequest/config'
11
11
  import iotRequest from './apiRequest/iotConfig'
12
-
12
+ import { getUrlParams, downloadFile, timeFormatter } from './utils/index'
13
13
  export {
14
14
  LiosLayout,
15
15
  LiosLayoutlProps,
@@ -22,5 +22,8 @@ export {
22
22
  Role,
23
23
  RoleInfo,
24
24
  request,
25
- iotRequest
25
+ iotRequest,
26
+ getUrlParams,
27
+ downloadFile,
28
+ timeFormatter
26
29
  }