Skip to content

Commit

Permalink
Update useHref.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dumuzhou committed Jul 3, 2023
1 parent 8eb0ff7 commit 15cc877
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/antd-mobile-ui-docs/src/hooks/useHref.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ export default function () {
} else {
rst = rst + '/index'
}
console.log("href结果")
console.log(rst)
if (rst) {
document.location.href = rst
}
Expand Down

0 comments on commit 15cc877

Please sign in to comment.