浏览代码

代理页面增加判断

hangb 7 年之前
父节点
当前提交
18c71c3bf8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pages/agency/index.vue

+ 2 - 0
pages/agency/index.vue

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