手机端增加提现功能
This commit is contained in:
@@ -41,6 +41,8 @@ export function getMobilePath(path: string): string {
|
||||
}
|
||||
|
||||
// PC-only views that don't have mobile counterparts go to mobile profile as fallback
|
||||
if (path === '/wallet/withdrawal') return '/m/wallet/withdrawal'
|
||||
|
||||
if (path === '/wallet' || path === '/notifications' || path.startsWith('/seller')) {
|
||||
return '/m/profile'
|
||||
}
|
||||
@@ -68,6 +70,7 @@ export function getPcPath(path: string): string {
|
||||
if (subPath === '/login') return '/login'
|
||||
if (subPath === '/register') return '/login' // PC uses /login for both auth actions
|
||||
if (subPath === '/realname') return '/realname'
|
||||
if (subPath === '/wallet/withdrawal') return '/wallet/withdrawal'
|
||||
if (subPath === '/seller/listings/create') return '/seller/listings/create'
|
||||
if (subPath.startsWith('/seller/listings/') && subPath.endsWith('/edit')) return subPath
|
||||
|
||||
|
||||
Reference in New Issue
Block a user