云文件管理系统上传组件优化
This commit is contained in:
@@ -178,6 +178,7 @@ const handleUserCommand = (command) => {
|
||||
passwordVisible.value = true
|
||||
} else if (command === 'logout') {
|
||||
ElMessageBox.confirm('确定退出登录吗?', '提示', { type: 'warning' }).then(() => {
|
||||
chatService.disconnect() // 断开 WebSocket 连接
|
||||
userStore.logout()
|
||||
router.push('/login')
|
||||
}).catch(() => {})
|
||||
|
||||
Reference in New Issue
Block a user