feat: extend operation log service and repository with pagination support

This commit is contained in:
张翔
2026-03-18 22:34:43 +08:00
parent 157aee2ffc
commit 8a0cd64829
81 changed files with 8842 additions and 509 deletions
@@ -133,7 +133,9 @@ const username = ref(localStorage.getItem('username') || 'Admin')
const activeMenu = computed(() => route.path)
const handleCommand = (command: string) => {
if (command === 'logout') {
if (command === 'profile') {
router.push('/profile')
} else if (command === 'logout') {
localStorage.clear()
router.push('/login')
}