mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
fix: ticket bug
This commit is contained in:
@@ -39,8 +39,10 @@ export default {
|
||||
return 'AssetsTicketDetail'
|
||||
} else if (row.type === 'apply_application') {
|
||||
return 'AppsTicketDetail'
|
||||
} else if (row.type === 'login_asset_confirm' || row.type === 'login_confirm') {
|
||||
} else if (row.type === 'login_asset_confirm') {
|
||||
return 'LoginAssetTicketDetail'
|
||||
} else if (row.type === 'login_confirm') {
|
||||
return 'LoginTicketDetail'
|
||||
} else if (row.type === 'command_confirm') {
|
||||
return 'CommandConfirmDetail'
|
||||
} else {
|
||||
|
||||
@@ -51,7 +51,7 @@ export default {
|
||||
const ticketRouteMapper = {
|
||||
'apply_asset': 'AssetsTicketDetail',
|
||||
'apply_application': 'AppsTicketDetail',
|
||||
'login_confirm': 'LoginAssetTicketDetail',
|
||||
'login_confirm': 'LoginTicketDetail',
|
||||
'login_asset_confirm': 'LoginAssetTicketDetail',
|
||||
'command_confirm': 'CommandConfirmDetail'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user