Revert "fix(frontend): stacking router viewで連続して戻る操作を行うと何も表示されなくなる問題を修正"

This reverts commit a3c3052d0f.
This commit is contained in:
syuilo 2025-12-04 19:01:45 +09:00
parent 6716950d7f
commit daf2a57b3c
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@
- -
### Client ### Client
- Fix: stacking router viewで連続して戻る操作を行うと何も表示されなくなる問題を修正 -
### Server ### Server
- Enhance: メモリ使用量を削減しました - Enhance: メモリ使用量を削減しました

View File

@ -74,9 +74,7 @@ function mount() {
} }
function back() { function back() {
const prev = tabs.value.at(tabs.value.length - 2); const prev = tabs.value[tabs.value.length - 2];
if (prev == null) return; // transitionprevback
tabs.value = [...tabs.value.slice(0, tabs.value.length - 1)]; tabs.value = [...tabs.value.slice(0, tabs.value.length - 1)];
router?.replaceByPath(prev.fullPath); router?.replaceByPath(prev.fullPath);
} }