@@ -21,7 +21,8 @@ export default {
methods: {
getIframeSrc() {
- this.iframeSrc = this.$route.query.code;
+ console.log(decodeURIComponent(window.location.href.split('?code=')[1]));
+ this.iframeSrc = decodeURIComponent(window.location.href.split('?code=')[1]);
},