|
@@ -33,16 +33,20 @@ export default (props) => {
|
33
|
33
|
listRef.current.refresh();
|
34
|
34
|
})
|
35
|
35
|
.catch(() => {
|
|
36
|
+ Dialog.close();
|
36
|
37
|
setLoading(false);
|
37
|
38
|
});
|
38
|
39
|
}
|
39
|
40
|
});
|
40
|
41
|
};
|
41
|
42
|
|
|
43
|
+
|
|
44
|
+
|
42
|
45
|
const onShow = () => {
|
43
|
46
|
listRef.current.refresh();
|
44
|
47
|
}
|
45
|
48
|
|
|
49
|
+ console.log('loading', loading);
|
46
|
50
|
return (
|
47
|
51
|
<Page loading={loading} onShow={onShow}>
|
48
|
52
|
<view className={styles["user-warpper"]}>
|
|
@@ -64,6 +68,14 @@ export default (props) => {
|
64
|
68
|
}
|
65
|
69
|
</View>
|
66
|
70
|
<View>
|
|
71
|
+ <Button
|
|
72
|
+ plain
|
|
73
|
+ type="default"
|
|
74
|
+ size="small"
|
|
75
|
+ color="var(--main-bg-color)"
|
|
76
|
+ >
|
|
77
|
+ 修改
|
|
78
|
+ </Button>
|
67
|
79
|
<Button
|
68
|
80
|
plain
|
69
|
81
|
type="danger"
|