fix 修复 登出后重新登录 sse推送报错问题
This commit is contained in:
parent
e5e43fe024
commit
1465a27a6e
@ -51,6 +51,10 @@ export function register(data: any) {
|
|||||||
* 注销
|
* 注销
|
||||||
*/
|
*/
|
||||||
export function logout() {
|
export function logout() {
|
||||||
|
request({
|
||||||
|
url: '/resource/sse/close',
|
||||||
|
method: 'get'
|
||||||
|
});
|
||||||
return request({
|
return request({
|
||||||
url: '/auth/logout',
|
url: '/auth/logout',
|
||||||
method: 'post'
|
method: 'post'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user