fix: 🐛
This commit is contained in:
parent
ed2a21a51f
commit
b2f111a4e7
4 changed files with 19 additions and 4 deletions
|
|
@ -275,7 +275,7 @@ function isCurrentPage(stack: TStackItem[], url: string) {
|
|||
}
|
||||
|
||||
function findAndCreateComponent(url: string, index: number) {
|
||||
const path = url.split('?')[0]
|
||||
const path = url.split('?')[0].split('#')[0]
|
||||
for (const { matcher, element } of routes) {
|
||||
const match = matcher(path)
|
||||
if (!match) continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue