logo和名称替换

This commit is contained in:
谢宇宁
2026-10-14 11:23:36 +07:00
parent 1cb514cd02
commit c5c04a7967
478 changed files with 8990 additions and 4948 deletions
+3 -2
View File
@@ -1,6 +1,6 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:hgmj/hj_page/live/live_service.dart';
import 'package:wydj/hj_page/live/live_service.dart';
import 'live_model.dart';
@@ -26,7 +26,8 @@ class LiveMainLogic extends GetxController with GetTickerProviderStateMixin {
loadData() async {
liveMainModel = await LiveService.getLiveModuleList();
if (liveMainModel != null) {
if (liveMainModel?.module != null && liveMainModel?.module?.isNotEmpty == true) {
if (liveMainModel?.module != null &&
liveMainModel?.module?.isNotEmpty == true) {
liveTabs.clear();
liveTabs.add(LiveModule(id: '-1', title: '推荐')); //添加推荐数据
liveTabs.addAll(liveMainModel?.module ?? []);