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', }, };