CN-851 fix: 修复检测-安全事件 下拉内容占位错误问题
This commit is contained in:
@@ -324,8 +324,11 @@ export default {
|
||||
getMillisecond,
|
||||
query () {
|
||||
Promise.all([this.queryBasic(), this.queryEvent()]).then((responses) => {
|
||||
responses[0].malwareTechniques = responses[0].malwareTechniques.split(',', 5).join(', ') + ']'
|
||||
responses[0].malwareGroups = responses[0].malwareGroups.split(',', 5).join(', ') + ']'
|
||||
console.log(responses[0])
|
||||
responses[0].malwareTechniques = responses[0].malwareTechniques.length > 2 ? responses[0].malwareTechniques.split(',', 5).join(', ') + ']' : ''
|
||||
responses[0].malwareGroups = responses[0].malwareGroups.length > 2 ? responses[0].malwareGroups.split(',', 5).join(', ') + ']' : ''
|
||||
responses[0].malwarePlatforms = responses[0].malwarePlatforms.length > 1 ? responses[0].malwarePlatforms : ''
|
||||
responses[0].malwareDescription = responses[0].malwareDescription.length > 1 ? responses[0].malwareDescription : ''
|
||||
responses[0] && (this.basicInfo = responses[0])
|
||||
responses[1] &&
|
||||
(this.events = responses[1].sort(
|
||||
|
||||
Reference in New Issue
Block a user