Skip to content

Commit

Permalink
fix:去除无用的setState
Browse files Browse the repository at this point in the history
  • Loading branch information
kalac2232 committed Mar 14, 2024
1 parent 882957e commit 357133f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/pages/dynamics/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,7 @@ class _DynamicsPageState extends State<DynamicsPage>
errMsg: data['msg'],
btnText: "去登录",
fn: () {
setState(() {
mineController.onLogin();
});
mineController.onLogin();
},
);
} else {
Expand Down

0 comments on commit 357133f

Please sign in to comment.