update 优化 !pr50 bug与代码实现

This commit is contained in:
疯狂的狮子Li 2023-11-02 14:00:48 +08:00
parent f2372d3243
commit a232437abc

View File

@ -126,7 +126,12 @@ export const websocketonmessage = () => {
read: false, read: false,
time: new Date().toLocaleString() time: new Date().toLocaleString()
}); });
ElMessage.success(e.data); ElNotification({
title: '消息',
message: e.data,
type: 'success',
duration: 3000
})
return e.data; return e.data;
}; };
}; };