Forráskód Böngészése

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

hangb 8 éve
szülő
commit
2711ffa75c
1 módosított fájl, 1 hozzáadás és 1 törlés
  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])}&`
             }
           }