云文件管理系统上传组件优化

This commit is contained in:
2026-04-02 18:31:47 +08:00
parent de7af347f6
commit e34d840c67

View File

@@ -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(() => {})