Browse Source

fix: logoutUrl

2637309949@qq.com 5 years ago
parent
commit
f8f3d1a219
1 changed files with 1 additions and 1 deletions
  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}`)