@aks-dev/easyui 1.0.17 → 1.0.20
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.
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
export default React.forwardRef((props: RefreshListProps, ref: React.Ref<any>) => {
|
|
21
20
|
const {
|
|
22
21
|
mode = 'FlatList',
|
|
@@ -173,7 +172,11 @@ const ListFooterComponent = React.memo((props: RefreshListProps) => {
|
|
|
173
172
|
case RefreshState.EmptyData:
|
|
174
173
|
if (props.renderListEmptyComponent) return props.renderListEmptyComponent()
|
|
175
174
|
return (
|
|
176
|
-
<View style={{
|
|
175
|
+
<View style={{
|
|
176
|
+
width: '100%', height: '100%',
|
|
177
|
+
display: 'flex',
|
|
178
|
+
justifyContent: 'center', alignItems: 'center'
|
|
179
|
+
}}>
|
|
177
180
|
<TouchableOpacity onPress={() => {
|
|
178
181
|
reload && reload()
|
|
179
182
|
}}>
|
package/lib/RefreshList/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* @Author: your name
|
|
3
3
|
* @Date: 2022-04-20 14:56:05
|
|
4
|
-
* @LastEditTime: 2022-
|
|
4
|
+
* @LastEditTime: 2022-05-16 15:29:35
|
|
5
5
|
* @LastEditors: shiguo
|
|
6
6
|
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
7
7
|
* @FilePath: /@aks/easyui/lib/RefreshList/index.ts
|
|
@@ -73,7 +73,7 @@ export const RefreshText = {
|
|
|
73
73
|
FooterRefreshing: '下拉可以加载更多',
|
|
74
74
|
Failure: '服务器正在出小差,点击重新加载',
|
|
75
75
|
NoMoreData: '已经全部加载完毕',
|
|
76
|
-
EmptyData: '
|
|
76
|
+
EmptyData: '没有数据',
|
|
77
77
|
Idle: '正在加载更多的数据..',
|
|
78
78
|
}
|
|
79
79
|
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @Author: shiguo
|
|
4
4
|
* @Date: 2022-04-13 12:47:34
|
|
5
5
|
* @LastEditors: shiguo
|
|
6
|
-
* @LastEditTime: 2022-05-16
|
|
6
|
+
* @LastEditTime: 2022-05-16 15:19:39
|
|
7
7
|
* @FilePath: /@aks/easyui/src/index.ts
|
|
8
8
|
*/
|
|
9
9
|
|
|
@@ -25,7 +25,8 @@ export { default as MutiPictureView } from '../lib/MutiPictureView/MutiPictureVi
|
|
|
25
25
|
export { PictureViewer } from '../lib/PictureViewer/PictureViewer'
|
|
26
26
|
|
|
27
27
|
export { default as RefreshList } from '../lib/RefreshList/RefreshList'
|
|
28
|
-
export
|
|
28
|
+
export { RefreshListProps,RefreshState } from '../lib/RefreshList'
|
|
29
|
+
|
|
29
30
|
|
|
30
31
|
export { default as TableCell } from '../lib/TableCell/TableCell'
|
|
31
32
|
export type { TableCellProps } from '../lib/TableCell'
|