1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-09-07 18:39:47 +08:00

fix[Sidebar]: fixed external link bug

This commit is contained in:
Pan 2019-04-10 10:10:58 +08:00
parent dbee6ff707
commit f822731789

View File

@ -86,6 +86,9 @@ export default {
if (isExternal(routePath)) {
return routePath
}
if (isExternal(this.basePath)) {
return this.basePath
}
return path.resolve(this.basePath, routePath)
},