fix[ExternalLink]: fixed bug when url include chinese
This commit is contained in:
@@ -68,3 +68,7 @@ export function formatTime(time, option) {
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
export function isExternal(path) {
|
||||
return /^(https?:|mailto:|tel:)/.test(path)
|
||||
}
|
||||
|
Reference in New Issue
Block a user