Open msPartner123 opened 4 years ago
我添加了menu1和menu2 从home页跳转过去正常,但从menu1跳转menu2会出现如下问题: http://localhost:4000/menu1 在menu1 跳转menu2时link为:http://localhost:4000/menu1/menu2 不应该是:http://localhost:4000/menu2嘛? 请问问题在哪里呢?
可以尝试,直接在navmenu中使用完整链接。 比如:
{ title: "Tags", url: https://araisann.github.io/tags/, },
对的,目前必须使用完整链接。
我添加了menu1和menu2 从home页跳转过去正常,但从menu1跳转menu2会出现如下问题: http://localhost:4000/menu1 在menu1 跳转menu2时link为:http://localhost:4000/menu1/menu2 不应该是:http://localhost:4000/menu2嘛? 请问问题在哪里呢?