Browse Source

修复刚进入电量显示横杆ui异常报错

newdev_shunjiawei
fdp 1 year ago
parent
commit
4b2a69813f
  1. 3
      lib/modules/home/views/home_view.dart

3
lib/modules/home/views/home_view.dart

@ -91,6 +91,7 @@ class HomeView extends GetView<HomeController> {
// 设备状态卡片
IntroStepBuilder(
key: const ValueKey('home_device_status'), // 添加唯一key
group: 'home',
order: 1,
onWidgetLoad: () {
@ -115,6 +116,7 @@ class HomeView extends GetView<HomeController> {
SizedBox(height: 20.h),
IntroStepBuilder(
key: const ValueKey('home_wakeup_guide'), // 添加唯一key
group: 'home',
order: 2,
getOverlayPosition: IntroOverlayBuilder.overlayPosition,
@ -719,6 +721,7 @@ class HomeView extends GetView<HomeController> {
Expanded(
flex: 1,
child: IntroStepBuilder(
key: const ValueKey('home_ai_assistant'), // 添加唯一key
group: 'home',
order: 3,
getOverlayPosition: IntroOverlayBuilder.overlayPosition,

Loading…
Cancel
Save