Browse Source

代理页面增加判断

hangb 7 years ago
parent
commit
18c71c3bf8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pages/agency/index.vue

+ 2 - 0
pages/agency/index.vue

@@ -94,6 +94,8 @@
                 // setTimeout(function () {
                 // setTimeout(function () {
                 //   window.location.href = response.data.content.returnUrl || 'http://www.ubtob.com'
                 //   window.location.href = response.data.content.returnUrl || 'http://www.ubtob.com'
                 // }, 3000)
                 // }, 3000)
+              } else {
+                window.location.href = response.data.content.returnUrl || 'http://www.ubtob.com'
               }
               }
             } else {
             } else {
               return Promise.reject(response.data)
               return Promise.reject(response.data)