Browse Source

fix: logoutUrl

2637309949@qq.com 5 năm trước cách đây
mục cha
commit
f8f3d1a219
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/utils/auth.js

+ 1 - 1
src/utils/auth.js

@@ -29,7 +29,7 @@ export function loginUrl(redirect, { state = '', $router, next } = {}) {
 
 export function logoutUrl(redirect, { state = '', $router, next } = {}) {
   if (window.Domain.auth_mode === 1) {
-    cas.logouts(redirect, state)
+    cas.logout(redirect, state)
   } else {
     if (next) {
       next(`/logout?redirect=${redirect}&state=${state}`)