pages/personalCenter/feedBackSubmit/index.js
@@ -86,6 +86,7 @@ this.data.lock = false; if (this.data.userName.replace(/^\s*|\s*$/g, "")) { if (this.data.mannder.replace(/^\s*|\s*$/g, "")) { if (!this.data.phoneError) { if (this.data.content.replace(/^\s*|\s*$/g, "")) { let submitData = { content: this.data.content.replace(/^\s*|\s*$/g, ""), @@ -128,6 +129,14 @@ } else { this.data.lock = true; wx.showToast({ title: "联系方式格式不正确", icon: 'none', duration: 1000 }) } } else { this.data.lock = true; wx.showToast({ title: "联系方式不能为空", icon: 'none', duration: 1000