@aks-dev/easyui 1.0.112 → 1.0.114

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.
@@ -38,6 +38,17 @@ RCT_EXPORT_METHOD(getAppVersion:(RCTPromiseResolveBlock)resolve
38
38
  }
39
39
 
40
40
 
41
+
42
+ RCT_EXPORT_METHOD(getOSVersion:(RCTPromiseResolveBlock)resolve
43
+ reject:(RCTPromiseRejectBlock)reject){
44
+ UIDevice *device = [UIDevice currentDevice];
45
+ NSString *systemVersion = [NSString stringWithFormat:@"%@ %@",device.systemName,device.systemVersion];
46
+ resolve(systemVersion);
47
+ }
48
+
49
+
50
+
51
+
41
52
  RCT_EXPORT_METHOD(upgrade:(NSDictionary *)info
42
53
  resolve:(RCTPromiseResolveBlock)resolve
43
54
  reject:(RCTPromiseRejectBlock)reject){//checkCode, desc
@@ -170,7 +170,7 @@ const ListFooterComponent = React.memo((props: RefreshListProps) => {
170
170
  </View>
171
171
  )
172
172
  case RefreshState.EmptyData:
173
- if (props.renderListEmptyComponent) return props.renderListEmptyComponent()
173
+ if (props.ListEmptyComponent) return props.ListEmptyComponent()
174
174
  return (
175
175
  <View style={{
176
176
  width: '100%', height: '100%',
@@ -1,10 +1,10 @@
1
1
  /*
2
2
  * @Author: your name
3
3
  * @Date: 2022-04-20 14:56:05
4
- * @LastEditTime: 2022-05-16 15:50:31
4
+ * @LastEditTime: 2022-11-03 10:34:30
5
5
  * @LastEditors: shiguo
6
6
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
- * @FilePath: /@aks/easyui/lib/RefreshList/index.ts
7
+ * @FilePath: /@aks-dev/easyui/lib/RefreshList/index.ts
8
8
  */
9
9
 
10
10
  import * as React from 'react'
@@ -29,7 +29,7 @@ type CommonProps = {
29
29
  onFooterRefresh: (info: any) => void;
30
30
  reload: () => void;
31
31
  refreshState: RefreshState;
32
- renderListEmptyComponent: () => React.ReactElement;
32
+ ListEmptyComponent: () => React.ReactElement;
33
33
  }
34
34
 
35
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aks-dev/easyui",
3
- "version": "1.0.112",
3
+ "version": "1.0.114",
4
4
  "description": "工具箱",
5
5
  "main": "./src/index.ts",
6
6
  "typings": "./src/index.d.ts",