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(?