Commit 9403a931 authored by nick zheng's avatar nick zheng

Merge branch 'beta' into 'master'

test:  测试代码

See merge request !238
parents 2a772f6c 32f95bf2
...@@ -102,7 +102,9 @@ onMounted(() => { ...@@ -102,7 +102,9 @@ onMounted(() => {
}) })
function handleBackPreviousPage() { function handleBackPreviousPage() {
if (window.history.state.back) { console.log(window.history?.state?.back)
if (window.history?.state?.back) {
router.back() router.back()
} else { } else {
router.replace({ name: 'Root' }) 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