Commit 2205cfa2 authored by nick zheng's avatar nick zheng

chore: 应用配置页返回

parent 8705054f
...@@ -102,7 +102,11 @@ onMounted(() => { ...@@ -102,7 +102,11 @@ onMounted(() => {
}) })
function handleBackPreviousPage() { function handleBackPreviousPage() {
if (window.history.state.back) {
router.back() router.back()
} else {
router.replace({ name: 'Root' })
}
} }
function handleDropdownSelect(key: string) { function handleDropdownSelect(key: string) {
......
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