hyzp_ybqx-Commit069:解决切换不同区县用户登录时,不能登录(必须退出App,再重启App才行)的问题
This commit is contained in:
@@ -78,7 +78,7 @@ String qx_name_long = '';
|
||||
String service_tel = '';
|
||||
String copyright_info = '';
|
||||
String copyright_info_PinYin = '';
|
||||
// 兴文县中心地址:天泉商城
|
||||
// 区县中心地址
|
||||
double center_latitude = -1; // 区县中心纬度
|
||||
double center_longitude = -1; // 区县中心经度
|
||||
|
||||
|
||||
@@ -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