Browse Source

fix: 删除网站cookie2

mjh 4 years ago
parent
commit
897290e345
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/views/AuthPage/components/AuthCard.vue

+ 1 - 0
src/views/AuthPage/components/AuthCard.vue

@@ -358,6 +358,7 @@ export default {
                       } else {
                         let p = new Promise(function (resolve, reject) {
                           document.cookie = undefined;
+                          resolve("success");
                         }).then(r => {
                           window.location.href = res.data.data.redirectUri + "?id_token=" + res.data.data.token;
                         });