蘑菇换api 其他优化
This commit is contained in:
@@ -142,10 +142,10 @@
|
||||
</div>
|
||||
<div class="col-lg-4 regDan">
|
||||
<input type="text" name="Account" value="" v-model="OneBuyModel.Account" v-on:blur="checkOneAccount" />
|
||||
<p class="jinggao" v-if="!OneChecker.AccountOk">5至10位字母或数字或组合</p>
|
||||
<p class="jinggao" v-if="!OneChecker.AccountOk">4至10位字母或数字或组合</p>
|
||||
</div>
|
||||
<div class="col-lg-4 text-left warnText">
|
||||
<sapn class="grayText">5至10位字母或数字或组合</sapn>
|
||||
<sapn class="grayText">4至10位字母或数字或组合</sapn>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -269,7 +269,7 @@
|
||||
<p class="jinggao" v-if="!MoreChecker.AccountOk">3至8位字母或数字或组合</p>
|
||||
</div>
|
||||
<div class="col-lg-4 text-left warnText">
|
||||
<sapn class="grayText">3至8位字母或数字或组合</sapn>
|
||||
<sapn class="grayText">2至8位字母或数字或组合</sapn>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
@@ -675,7 +675,7 @@
|
||||
}
|
||||
},
|
||||
checkOneAccount() {
|
||||
if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 5 || !this.hasNumAndChar(this.OneBuyModel.Account)) {
|
||||
if (this.OneBuyModel.Account.length > 10 || this.OneBuyModel.Account.length < 4 || !this.hasNumAndChar(this.OneBuyModel.Account)) {
|
||||
this.OneChecker.AccountOk = false;
|
||||
return false;
|
||||
}
|
||||
@@ -691,7 +691,7 @@
|
||||
return true;
|
||||
},
|
||||
checkMoreAccount() {
|
||||
if (this.MoreBuyModel.Account.length < 3 || this.MoreBuyModel.Account.length > 8 || !this.hasNumAndChar(this.MoreBuyModel.Account)) {
|
||||
if (this.MoreBuyModel.Account.length < 2 || this.MoreBuyModel.Account.length > 8 || !this.hasNumAndChar(this.MoreBuyModel.Account)) {
|
||||
this.MoreChecker.AccountOk = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user