@aks-dev/easyui 1.0.68 → 1.0.71

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.
@@ -31,5 +31,5 @@ export const getNavigationBarHeight = () => {
31
31
 
32
32
 
33
33
  export const gotoDesktop = () => {
34
- if (Platform.OS == 'android') RNEasyui?.goHome();
34
+ if (Platform.OS == 'android') RNEasyui?.gotoDesktop();
35
35
  }
@@ -61,10 +61,12 @@ export default (props: Partial<TableCellProps>) => {
61
61
  return undefined
62
62
  })()}
63
63
  </View>
64
- {showNav && <Image
65
- style={{ width: px2dp(9), height: px2dp(16), marginLeft: px2dp(8) }}
66
- source={require('./back.png')}
67
- />}
64
+ {showNav && (
65
+ props.nav || <Image
66
+ style={{ width: px2dp(9), height: px2dp(16), marginLeft: px2dp(8) }}
67
+ source={require('./back.png')}
68
+ />
69
+ )}
68
70
  </View>
69
71
 
70
72
  </TouchableOpacity>
@@ -2,8 +2,8 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-21 15:30:07
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-05-07 17:11:32
6
- * @FilePath: /@aks/easyui/lib/TableCell/index.ts
5
+ * @LastEditTime: 2022-07-07 16:06:57
6
+ * @FilePath: /@aks-dev/easyui/lib/TableCell/index.ts
7
7
  */
8
8
 
9
9
  import * as React from 'react'
@@ -39,6 +39,7 @@ export type TableCellProps = {
39
39
  borderBottomWidth?: number | undefined;
40
40
  }
41
41
  showNav: boolean;
42
+ nav:React.ReactElement;
42
43
  }
43
44
 
44
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.68",
3
+ "version": "1.0.71",
4
4
  "description": "移动端App开发工具包",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",
package/utils/index.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * @Author: shiguo
3
3
  * @Date: 2022-04-19 10:25:43
4
4
  * @LastEditors: shiguo
5
- * @LastEditTime: 2022-05-30 16:15:07
5
+ * @LastEditTime: 2022-07-07 20:15:11
6
6
  * @FilePath: /@aks-dev/easyui/utils/index.ts
7
7
  */
8
8
 
@@ -14,7 +14,8 @@ import * as rn from 'react-native'
14
14
  * @param {*}毫秒值
15
15
  * @return {*}
16
16
  */
17
- export declare const sleep: (msec?: number) => void;
17
+ type TArgs = (args: void) => void;
18
+ export declare const sleep: (msec?: number) => Promise<TArgs>;
18
19
 
19
20
 
20
21
  /**