clean up
This commit is contained in:
parent
11378b17c5
commit
bdc72e5817
6 changed files with 21 additions and 69 deletions
|
|
@ -123,7 +123,7 @@ function mount() {
|
|||
function back() {
|
||||
const prev = tabs.value[tabs.value.length - 2];
|
||||
tabs.value = [...tabs.value.slice(0, tabs.value.length - 1)];
|
||||
router.replace(prev.path, prev.key);
|
||||
router.replace(prev.path);
|
||||
}
|
||||
|
||||
router.addListener('replace', onReplace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue