hyzp_ybqx-Commit114:版本号更新为1.4.23+20220405。解决访问区县后台接口没有添加"qxdm": qx_code、访问后listReviewed为null的问题
This commit is contained in:
@@ -10,6 +10,7 @@ import 'package:hyzp_ybqx/pages/tabs/page4_myMsics_new.dart';
|
||||
|
||||
//import '../../widget/player_pro.dart';
|
||||
import '../../components/commonFun.dart';
|
||||
|
||||
//import 'package:fijkplayer/fijkplayer.dart';
|
||||
import '../../services/ServiceLocator.dart';
|
||||
import '../../services/Storage.dart';
|
||||
@@ -87,8 +88,8 @@ class _TabsState extends State<Tabs> {
|
||||
// eventBus.fire(VoiceRemindUpdate('g_bVoiceRemind 数据已更新'));
|
||||
|
||||
// 获取待审核黑烟车记录
|
||||
listReviewed.clear();
|
||||
await getReviewedList();
|
||||
print("listReviewed = $listReviewed");
|
||||
await getReviewedList(); //注意:访问区县后台接口,需要统一添加区县代码参数
|
||||
print("listReviewed = $listReviewed");
|
||||
if (g_bVoiceRemind && listReviewed.length > 0) {
|
||||
// if (g_bVoiceRemind) {
|
||||
|
||||
@@ -24,13 +24,16 @@ class _LoginPageState extends State<page6_download> {
|
||||
}
|
||||
|
||||
String download_url;
|
||||
String last_ver;
|
||||
|
||||
@override
|
||||
void initState() {
|
||||
super.initState();
|
||||
getNewverUrl().then((value) {
|
||||
download_url = value['downurl'];
|
||||
print('_mapVer = ${download_url}');
|
||||
last_ver = value['ver'];
|
||||
print('download_url = ${download_url}');
|
||||
print('last_ver = ${last_ver}');
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
@@ -268,7 +271,7 @@ class _LoginPageState extends State<page6_download> {
|
||||
),
|
||||
),
|
||||
SizedBox(height: 40),
|
||||
Text('扫描二维码下载', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
||||
Text('扫码下载 ver: $last_ver', textAlign: TextAlign.center, style: TextStyle(fontSize: 20)),
|
||||
|
||||
//原文链接:https://blog.csdn.net/houruoyu3/article/details/112314090
|
||||
// Text("普通二维码"),
|
||||
|
||||
Reference in New Issue
Block a user