Align iOS home common apps and all-functions page with Android.
Add unified HomeCommonMenu/HomeAllFunctions diagnostics, rebuild all-functions from top-level menuList permissions, and document Home and AllFunctions module logic. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -456,6 +456,13 @@ struct HomeView: View {
|
||||
legacyRoleId: legacyRoleId,
|
||||
topLevelPermissionURIs: permissionContext.topLevelPermissionURIs(for: roleCode)
|
||||
)
|
||||
let displayItems = displayMenuItems.map { ($0.title, $0.uri) }
|
||||
HomeCommonMenuDiagnostics.log(
|
||||
step: "displayItems",
|
||||
fields: [
|
||||
"items": HomeCommonMenuDiagnostics.formatDisplayItems(displayItems)
|
||||
]
|
||||
)
|
||||
}
|
||||
|
||||
/// 包裹需要 GPS 定位的位置上报操作,定位期间展示全局 Loading。
|
||||
|
||||
Reference in New Issue
Block a user