修复账号切换后「我的」页当前账号展示错误,并统一举报摄影师首页 URI。
切换账号时以用户选中账号为准写入展示标题与业务作用域,避免沿用旧门店名称;同时将首页举报摄影师入口 URI 对齐为 report_photographer。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -46,7 +46,7 @@ enum HomeMenuRouter {
|
||||
"pm_manager": "店铺项目管理",
|
||||
"project_edit": "项目管理",
|
||||
"location_report": "位置上报",
|
||||
"photographer_report": "举报摄影师",
|
||||
"report_photographer": "举报摄影师",
|
||||
"registration_invitation": "注册邀请",
|
||||
"store": "店铺管理",
|
||||
"fly": "飞行管理",
|
||||
@ -132,7 +132,7 @@ enum HomeMenuRouter {
|
||||
return .destination(.locationReport)
|
||||
case "location_report_history":
|
||||
return .destination(.locationReportHistory)
|
||||
case "photographer_report":
|
||||
case "report_photographer":
|
||||
return .destination(.photographerReport)
|
||||
case "deposit_order_detail", "deposit_order", "deposit_order_shooting_info":
|
||||
return .destination(.depositOrders)
|
||||
@ -219,7 +219,7 @@ enum HomeMenuRouter {
|
||||
"pm_manager",
|
||||
"project_edit",
|
||||
"location_report",
|
||||
"photographer_report",
|
||||
"report_photographer",
|
||||
"registration_invitation",
|
||||
"photographer_invite",
|
||||
"invite_record",
|
||||
@ -298,7 +298,7 @@ enum HomeMenuRouter {
|
||||
return "注册邀请"
|
||||
case "location_report":
|
||||
return "位置上报"
|
||||
case "photographer_report":
|
||||
case "report_photographer":
|
||||
return "举报摄影师"
|
||||
case "pm", "project_edit":
|
||||
return "项目管理"
|
||||
|
||||
Reference in New Issue
Block a user