diff --git a/docs/common/DocsInternalLink.vue b/docs/common/DocsInternalLink.vue index 263a614d6..d64b8b318 100644 --- a/docs/common/DocsInternalLink.vue +++ b/docs/common/DocsInternalLink.vue @@ -26,6 +26,9 @@ href: { type: String, required: true, + validator(value) { + return value.startsWith('/') || value.startsWith('#'); + }, }, text: { type: String,