针对新项目,更新Readme

This commit is contained in:
2026-04-01 19:54:17 +08:00
parent 8b44b84d4c
commit e3435cd3dd
3 changed files with 320 additions and 683 deletions

View File

@@ -78,7 +78,7 @@ int main(void)
/* ---------------------------------------------------------------------
* Case 3:
* 测试 MenuModel_IndexMenuItems / MenuModel_GetMenuMaxDisplayLen
* - 使用真实菜单模型验证序号初始化、子节点数量统计与子菜单宽度统计
* - 使用真实菜单模型验证 0 基序号初始化、子节点数量统计与子菜单宽度统计
* --------------------------------------------------------------------- */
first[0] = &menuModel.menuItems[0];
index[0] = &menuModel.menuItems[0];
@@ -134,7 +134,7 @@ int main(void)
/* ---------------------------------------------------------------------
* Case 5.1:
* 强化测试 MenuModel_IndexMenuItems
* - 覆盖多顶层、多兄弟、跨层回退后的 wPos / wNum 统计
* - 覆盖多顶层、多兄弟、跨层回退后的 0 基 wPos / wNum 统计
* --------------------------------------------------------------------- */
memset(customItems2, 0, sizeof(customItems2));
MenuModel_BuildTree(customItems2, customModelTab2, 7);