取消客户新增手机号必填
This commit is contained in:
@@ -150,8 +150,8 @@ Page({
|
||||
const form = this.data.createForm
|
||||
const nickname = String(form.nickname || '').trim()
|
||||
const phone = String(form.phone || '').trim()
|
||||
if (!nickname || !phone) {
|
||||
wx.showToast({ title: '请填写客户姓名和手机号', icon: 'none' })
|
||||
if (!nickname) {
|
||||
wx.showToast({ title: '请填写客户姓名', icon: 'none' })
|
||||
return
|
||||
}
|
||||
this.setData({ creating: true })
|
||||
|
||||
Reference in New Issue
Block a user