CN-141 feat: group类型图表开发(未实现折叠)

This commit is contained in:
chenjinsong
2021-09-16 21:19:48 +08:00
parent 6548df58db
commit 047fc4a1a7
4 changed files with 48 additions and 3 deletions

View File

@@ -396,6 +396,10 @@ export function isIpOpenPort (type) {
export function isIpHostedDomain (type) {
return type === 33
}
/* 组 */
export function isGroup (type) {
return type === 94
}
export function getOption (type) {
const mapping = typeOptionMappings.find(m => m.value === type)
return mapping && mapping.option ? _.cloneDeep(mapping.option) : null