Commit 3c098b1
committed
fix: initialize wireless other item expanded state
When adding a wireless device item, the code creates a WirelessOtherItem
but its expanded state was not properly initialized. This caused
the item to appear in an inconsistent state when first displayed.
The fix explicitly sets the expanded state to true using the
updateexpanded(true) method immediately after creating the
WirelessOtherItem to ensure proper visual representation.
Influence:
1. Test adding new wireless devices to verify they display correctly
2. Check that wireless other items appear in expanded state by default
3. Verify that child items under wireless other items are visible
4. Test collapsing and expanding functionality still works properly
fix: 初始化无线其他项的展开状态
当添加无线设备项时,代码创建了WirelessOtherItem但其展开状态未正
确初始化。这导致项目首次显示时处于不一致的状态。修复方案在创建
WirelessOtherItem后立即使用updateexpanded(true)方法显式设置展开状态为
true,确保正确的视觉表示。
Influence:
1. 测试添加新无线设备以验证其正确显示
2. 检查无线其他项是否默认显示为展开状态
3. 验证无线其他项下的子项是否可见
4. 测试折叠和展开功能是否正常工作
PMS: BUG-2872231 parent c96e984 commit 3c098b1
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
0 commit comments