【bug】手机号必填校验
This commit is contained in:
@@ -175,6 +175,15 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
// 手机号验证
|
||||
if(formData.phone === '' || formData.phone === undefined ){
|
||||
wx.showToast({
|
||||
title: '请输入手机号',
|
||||
icon: 'none',
|
||||
duration: 2000
|
||||
})
|
||||
return
|
||||
}
|
||||
// 缴费方式
|
||||
if (formData.payMode === '') {
|
||||
wx.showToast({
|
||||
|
||||
Reference in New Issue
Block a user