Explorar o código

微信扫码登录链接上排除type值

hangb %!s(int64=7) %!d(string=hai) anos
pai
achega
2711ffa75c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/login/Login.vue

+ 1 - 1
components/login/Login.vue

@@ -444,7 +444,7 @@
         let wUrl = ''
         if (this.$route.query) {
           for (var key in this.$route.query) {
-            if (key !== 'code' && key !== 'state') {
+            if (key !== 'code' && key !== 'state' && key !== 'type') {
               wUrl += `${key}=${encodeURIComponent(this.$route.query[key])}&`
             }
           }