摘要: 在调用 setState 之前对 mounted 进行判断即可 if (mounted) { setState(() { a = 123; }); } 阅读全文
posted @ 2023-10-27 16:22 monologuse 阅读(92) 评论(0) 推荐(0)