clear friend log table when navigating away from it

This commit is contained in:
pa
2026-02-01 00:01:57 +09:00
parent d838c4a9e5
commit 858fb076da
3 changed files with 20 additions and 18 deletions
+2
View File
@@ -101,6 +101,8 @@ export const useFriendStore = defineStore('Friend', () => {
(value) => {
if (value.name === 'friend-log') {
initFriendLogHistoryTable();
} else {
friendLogTable.value.data = [];
}
},
{ immediate: true }