This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
cyber-narrator-cn-ui/src/utils/constants.js

23 lines
519 B
JavaScript
Raw Normal View History

2021-06-11 10:00:22 +08:00
export const defaultPageSize = 20
// 统一定义跳转来源
export const fromRoute = {
trafficSummary: 'trafficSummary',
2021-06-11 23:00:33 +08:00
networkAppPerformance: 'networkAppPerformance',
dnsServiceInsights: 'dnsServiceInsights',
2021-06-11 10:00:22 +08:00
user: 'user'
}
2021-06-11 23:00:33 +08:00
/* panel类别和路由之间的映射 */
export const panelTypeAndRouteMapping = {
trafficSummary: 1,
networkAppPerformance: 2,
dnsServiceInsights: 3
}
2021-06-11 10:00:22 +08:00
export const position = {
tableHeight: {
normal: 'calc(100% - 48px)' // 常规高度,特例在下方定义
}
}