소스 검색

fix:pc端代理页面跳转问题

liusw 7 년 전
부모
커밋
62e21e8f7c
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      pages/agency/index.vue

+ 3 - 0
pages/agency/index.vue

@@ -107,6 +107,9 @@
             }
           }).catch(err => {
             this.$message.error(err.errMsg)
+            setTimeout(() => {
+              this.crossAfter(this.$route.query.returnURL || 'http://www.usoftchina.com')
+            }, 3000)
           })
       },
       getJsonp: function (url, timeout = 500) {