:zap:优化强退功能

This commit is contained in:
不做码农
2023-08-30 08:36:29 +08:00
parent e1a4f0faf8
commit 38cf81bcfd
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -36,9 +36,9 @@ export default {
// useSocketStore().setOnlineUsers(data)
// })
// 接收封锁通知
connection.on('lockUser', (data) => {
ElMessageBox.alert(`你的账号已被锁定,剩余,${data.time}分,原因:${data.reason || '-'}`, '提示', {
// 接收强退通知
connection.on('forceUser', (data) => {
ElMessageBox.alert(`你的账号已被强退,原因:${data.reason || '无'}`, '提示', {
confirmButtonText: '确定',
callback: () => {
useUserStore()