perf: 列表和左侧筛选整理

This commit is contained in:
chenjinsong
2022-02-21 10:52:14 +08:00
parent 722e533cf3
commit 457733c984
17 changed files with 560 additions and 453 deletions

View File

@@ -74,14 +74,14 @@ export const api = {
entityIpRelatedServerDomain: '/interface/entity/detail/overview/ip/relatedDomain',
entityIpRelatedServerApp: '/interface/entity/detail/overview/ip/relatedApp',
// detection
detectionEventSeverity: '/interface/detection/filter/severity',
detectionSeverityTrend: '/interface/detection/filter/severityTrend',
detectionAttackType: '/interface/detection/filter/attackType',
detectionOffenderIp: '/interface/detection/filter/offenderIp',
detectionOffenderLocation: '/interface/detection/filter/offenderLocation',
detectionVictimIp: '/interface/detection/filter/victimIp',
detectionVictimLocation: '/interface/detection/filter/victimLocation',
detectionSeverity:'/interface/detection/filter/severity',
detectionListBasic:'/interface/detection/list/basic'
detectionSeverity: '/interface/detection/filter/severity',
detectionListBasic: '/interface/detection/list/basic'
}
/* panel */
@@ -157,7 +157,7 @@ export async function getPermission () {
}
export async function getI18n () {
const dictData = await getDictList( { type: 'lang'})
const dictData = await getDictList({ type: 'lang' })
const langs = dictData.map(d => d.value).join(',')
localStorage.setItem(storageKey.languages, langs)
const request = new Promise(resolve => {