hangb 7 vuotta sitten
vanhempi
commit
6a8454cd9b

+ 1 - 1
components/mobile/reset/stepLast.vue

@@ -39,7 +39,7 @@
     methods: {
       sureAccount () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/')
         }

+ 1 - 1
components/mobile/validation/ValidationEmailStepSuccess.vue

@@ -34,7 +34,7 @@
     methods: {
       sureAccount () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/cloudcenter')
         }

+ 1 - 1
components/mobile/validation/ValidationPhoneStepSuccess.vue

@@ -34,7 +34,7 @@
     methods: {
       sureAccount () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/')
         }

+ 1 - 1
components/reset/PasswordStepSuccess.vue

@@ -26,7 +26,7 @@
 //      跳转个人中心
       goCloudCenter () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/')
         }

+ 1 - 1
components/validation/EmailStepSuccess.vue

@@ -26,7 +26,7 @@
 //      跳转至云中心页面
       goCloudCenter () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/cloudcenter')
         }

+ 1 - 1
components/validation/PhoneStepSuccess.vue

@@ -26,7 +26,7 @@
 //      跳转至云中心页面
       goCloudCenter () {
         if (this.$route.query.returnURL) {
-          window.location.href = this.$route.query.returnURL
+          window.location.href = decodeURIComponent(this.$route.query.returnURL)
         } else {
           this.$router.push('/')
         }