浏览代码

修正完成注册页面后的跳转

wangcz 7 年之前
父节点
当前提交
59bd53341f
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      components/register/EnterpriseRegistration.vue
  2. 1 1
      components/register/PersonalRegistration.vue

+ 1 - 1
components/register/EnterpriseRegistration.vue

@@ -567,7 +567,7 @@
               this.$http.post('/sso/userspace/register', param, config)
                 .then(response => {
                   if (response.data.success) {
-
+                    window.location.href = '/overRegister/overEnterprise'
                   } else {
                     return Promise.reject(response.data)
                   }

+ 1 - 1
components/register/PersonalRegistration.vue

@@ -298,7 +298,7 @@
           this.$http.post('/sso/personal/register', param, config)
             .then(response => {
               if (response.data.success) {
-//                window.loaction.href = '/'
+                window.location.href = '/overRegister/overPersonal'
               } else {
                 return Promise.reject(response.data)
               }