hyzp_ybqx-Commit069:解决切换不同区县用户登录时,不能登录(必须退出App,再重启App才行)的问题
This commit is contained in:
@@ -286,6 +286,7 @@ class _Page1_WorksState extends State<Page1_Works>
|
||||
),
|
||||
onTap: () {
|
||||
//刷新统计数据
|
||||
listAllStatisData.clear();
|
||||
mapStatisInfo.forEach((key, value) {
|
||||
mapStatisInfo[key] = -1;
|
||||
});
|
||||
|
||||
@@ -6,6 +6,7 @@ import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||||
import 'package:hyzp_ybqx/components/commonFun.dart';
|
||||
import 'package:hyzp_ybqx/components/hyxx_data_handle.dart';
|
||||
import 'package:hyzp_ybqx/pages/Login/FaceLogin.dart';
|
||||
import 'package:hyzp_ybqx/pages/Login/FaceReg.dart';
|
||||
import 'package:hyzp_ybqx/pages/MyMsics/05_updated/MyUpdatedNew.dart';
|
||||
@@ -376,6 +377,8 @@ class _Page4_MyMsicsNewState extends State<Page4_MyMsicsNew>
|
||||
onTop: () {
|
||||
clear_user_info(); // 清空用户信息
|
||||
//刷新统计数据
|
||||
// listAllStatisData.clear();
|
||||
listDwinfoGetList2.clear();
|
||||
mapStatisInfo.forEach((key, value) {
|
||||
mapStatisInfo[key] = -1;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user