diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointTab.vue index 94b6967eb..aec3c9e22 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointTab.vue @@ -320,6 +320,9 @@ case 'id': case 'asset': case 'port': + case 'project': + case 'module': + case 'type': // case 'path': return 'custom'; default : return false; @@ -331,6 +334,9 @@ case 'id': return'e.id'; case 'asset': return'a.host'; case 'port': return'e.port'; + case 'project': return'p.name'; + case 'module': return'm.name'; + case 'type': return'm.type'; // case 'path': return'e.path'; default : return prop; } diff --git a/nezha-fronted/src/components/page/project/project.vue b/nezha-fronted/src/components/page/project/project.vue index 34587b98a..4d6f958ed 100644 --- a/nezha-fronted/src/components/page/project/project.vue +++ b/nezha-fronted/src/components/page/project/project.vue @@ -552,6 +552,9 @@ case 'id': case 'asset': case 'port': + case 'project': + case 'module': + case 'type': // case 'path': return'custom'; default : return false; @@ -563,6 +566,9 @@ case 'id': return'e.id'; case 'asset': return'a.host'; case 'port': return'e.port'; + case 'project': return'p.name'; + case 'module': return'm.name'; + case 'type': return'm.type'; // case 'path': return'e.path'; default : return prop; }