Selaa lähdekoodia

产权交易登录

rongxin_prod
庞东旭 2 vuotta sitten
vanhempi
commit
1dc10b00fa
2 muutettua tiedostoa jossa 4 lisäystä ja 2 poistoa
  1. +2
    -1
      src/views/register/companyRegister.vue
  2. +2
    -1
      src/views/register/userRegister.vue

+ 2
- 1
src/views/register/companyRegister.vue Näytä tiedosto

@@ -137,13 +137,14 @@ export default {
return;
}
this.form.accountType = '1';
var that = this
userRegister(this.form).then((res) => {
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '注册成功',
duration:"2000",
onClose:function(){
this.$router.push({path: '/login'})
that.$router.push({path: '/login'})
}
})
});


+ 2
- 1
src/views/register/userRegister.vue Näytä tiedosto

@@ -131,13 +131,14 @@ export default {
}
this.form.accountType = '2';
console.log(this.form);
var that = this
userRegister(this.form).then((res) => {
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '注册成功',
duration:"2000",
onClose:function(){
this.$router.push({path: '/login'})
that.$router.push({path: '/login'})
}
})
});


Ladataan…
Peruuta
Tallenna