Commit 32f95bf2 authored by nick zheng's avatar nick zheng

test: 测试代码

parent 2205cfa2
......@@ -102,7 +102,9 @@ onMounted(() => {
})
function handleBackPreviousPage() {
if (window.history.state.back) {
console.log(window.history?.state?.back)
if (window.history?.state?.back) {
router.back()
} else {
router.replace({ name: 'Root' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment