From 5749f20047b69c5905120270e85e2232d89afb9e Mon Sep 17 00:00:00 2001 From: zhengkunwang223 <1paneldev@sina.com> Date: Tue, 11 Nov 2025 11:38:36 +0800 Subject: [PATCH] feat: optimize website log display --- frontend/src/api/interface/cronjob.ts | 2 +- frontend/src/components/log/custom-hightlight/index.vue | 2 +- frontend/src/views/cronjob/cronjob/helper.ts | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/frontend/src/api/interface/cronjob.ts b/frontend/src/api/interface/cronjob.ts index 3e425bf74ef7..b18ff2b0c275 100644 --- a/frontend/src/api/interface/cronjob.ts +++ b/frontend/src/api/interface/cronjob.ts @@ -111,7 +111,7 @@ export namespace Cronjob { alertTitle: string; alertMethod: string; - scopes: string[]; + scopes?: string[]; } export interface CronjobTrans { name: string; diff --git a/frontend/src/components/log/custom-hightlight/index.vue b/frontend/src/components/log/custom-hightlight/index.vue index 769596f5e86e..65aec8d3507a 100644 --- a/frontend/src/components/log/custom-hightlight/index.vue +++ b/frontend/src/components/log/custom-hightlight/index.vue @@ -119,7 +119,7 @@ const defaultRules: TokenRule[] = [ }, { type: 'ip', - pattern: /\b(?