feat: extend operation log service and repository with pagination support
This commit is contained in:
@@ -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')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user