From 06bf2bbc2fafaa3187260faf7fc5fc93939cbef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=98=AD?= <81747598+lan-yonghui@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:17:38 +0800 Subject: [PATCH] fix: Fix alert setting issue (#7304) --- backend/constant/common.go | 1 + frontend/src/global/form-rules.ts | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/constant/common.go b/backend/constant/common.go index 7be163104..71f4d541d 100644 --- a/backend/constant/common.go +++ b/backend/constant/common.go @@ -116,6 +116,7 @@ var WebUrlMap = map[string]struct{}{ "/xpack/gpu": {}, "/xpack/alert/dashboard": {}, "/xpack/alert/log": {}, + "/xpack/alert/setting": {}, "/xpack/setting": {}, } diff --git a/frontend/src/global/form-rules.ts b/frontend/src/global/form-rules.ts index 58ec729c7..04c02f0fc 100644 --- a/frontend/src/global/form-rules.ts +++ b/frontend/src/global/form-rules.ts @@ -822,7 +822,6 @@ export const Rules: CommonRule = { }, phone: { validator: checkPhone, - required: true, trigger: 'blur', }, };