fix[Sidebar]: fixed external link bug (#1870)
This commit is contained in:
parent
dbee6ff707
commit
9cba45e971
|
@ -86,6 +86,9 @@ export default {
|
|||
if (isExternal(routePath)) {
|
||||
return routePath
|
||||
}
|
||||
if (isExternal(this.basePath)) {
|
||||
return this.basePath
|
||||
}
|
||||
return path.resolve(this.basePath, routePath)
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue