Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
smtdfc committed Jul 26, 2023
1 parent ec146b4 commit e94b949
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ async function resolveRoute(url) {

for (let idx in matchedRoutes) {
let matched = matchedRoutes[idx]
if (matched.route.path == Router.currentRoute) return
//if (matched.route.path == Router.currentRoute) return
Router.currentRoute = matched.route.path
matched.query = query
let res = await renderContentOfRoute(matched)
Expand Down Expand Up @@ -202,8 +202,6 @@ export function initRouter(configs) {
notFound: new Function()

}


}

class LinkComponent extends HTMLElement{
Expand Down

0 comments on commit e94b949

Please sign in to comment.