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