修改首页数据持久化bug
This commit is contained in:
parent
f63c565944
commit
1d0ad35acd
@ -37,7 +37,7 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
|
|||||||
|
|
||||||
Future<void> getHttpData() async {
|
Future<void> getHttpData() async {
|
||||||
LockListInfoGroupEntity? lockListInfoGroupEntity = await Storage.getLockMainListData();
|
LockListInfoGroupEntity? lockListInfoGroupEntity = await Storage.getLockMainListData();
|
||||||
Get.log("lockListInfoGroupEntity:${lockListInfoGroupEntity!.groupList!.length}");
|
// Get.log("lockListInfoGroupEntity:${lockListInfoGroupEntity!.groupList!.length}");
|
||||||
if (lockListInfoGroupEntity != null) {
|
if (lockListInfoGroupEntity != null) {
|
||||||
logic.loadMainDataLogic(lockListInfoGroupEntity).then((value) {
|
logic.loadMainDataLogic(lockListInfoGroupEntity).then((value) {
|
||||||
if (mounted) {
|
if (mounted) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user