Procházet zdrojové kódy

产权交易注册防止多次提交优化

rongxin_prod
庞东旭 před 1 rokem
rodič
revize
2b02818481
2 změnil soubory, kde provedl 10 přidání a 0 odebrání
  1. +5
    -0
      src/views/register/companyRegister.vue
  2. +5
    -0
      src/views/register/userRegister.vue

+ 5
- 0
src/views/register/companyRegister.vue Zobrazit soubor

@@ -260,9 +260,14 @@ export default {
})
return;
}
this.$toast.loading({
message: '正在注册...',
forbidClick: true,
});
this.form.accountType = '1';
var that = this
userRegister(this.form).then((res) => {
this.$toast.clear();
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '注册成功',


+ 5
- 0
src/views/register/userRegister.vue Zobrazit soubor

@@ -244,10 +244,15 @@ export default {
})
return;
}
this.$toast.loading({
message: '正在注册...',
forbidClick: true,
});
this.form.accountType = '2';
console.log(this.form);
var that = this
userRegister(this.form).then((res) => {
this.$toast.clear();
this.$toast({
icon: 'success', // 找到自己需要的图标
message: '注册成功',


Načítá se…
Zrušit
Uložit