优化bug
This commit is contained in:
@@ -35,8 +35,10 @@ class _MyPageState extends State<MyPage> with AutomaticKeepAliveClientMixin {
|
||||
}
|
||||
|
||||
void _goEdit() async {
|
||||
await context.push(RoutePaths.myEdit, extra: _userProfile);
|
||||
_init();
|
||||
var isUpload = await context.push(RoutePaths.myEdit, extra: _userProfile);
|
||||
if (isUpload == true) {
|
||||
_init();
|
||||
}
|
||||
}
|
||||
|
||||
void _showEditProfile() {
|
||||
@@ -68,6 +70,7 @@ class _MyPageState extends State<MyPage> with AutomaticKeepAliveClientMixin {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
super.build(context);
|
||||
return SafeArea(
|
||||
child: ListView(
|
||||
padding: EdgeInsets.all(15),
|
||||
|
||||
Reference in New Issue
Block a user