mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 23:56:43 +08:00
Merge branch 'dev' of 112.124.100.131:GFRS/ebiz-h5 into dev
This commit is contained in:
@@ -50,7 +50,8 @@ Validator.extend('required', {
|
||||
Validator.extend('email', {
|
||||
getMessage: () => '邮箱格式错误',
|
||||
validate(value) {
|
||||
return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(value);
|
||||
//return /^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\.[a-zA-Z0-9_-]{2,3}){1,2})$/.test(value);
|
||||
return /^([a-z0-9_\.-]+)@([0-9A-Za-z\.-]+)\.([a-z\.]{2,6})$/.test(value);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ export default {
|
||||
async payMentWx(orderNo){
|
||||
const res = await payFlag({ orderNo: orderNo })
|
||||
console.dir(res)
|
||||
if (res.content.payFlag == 'Y') {
|
||||
if (res.result == '0' && res.content.payFlag == 'Y') {
|
||||
this.getAcceptInsurance()
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
|
||||
Reference in New Issue
Block a user