闫增涛
2024-04-15 cb6bb8bda31df75afe5a5bd50fe8e3ff6a3d34e2
pages/personalCenter/feedBackSubmit/index.js
@@ -110,15 +110,6 @@
        })
        return
      }
      if (this.data.phoneError) {
        this.data.lock = true;
        wx.showToast({
          title: "联系方式格式不正确",
          icon: 'none',
          duration: 1000
        })
        return
      }
      if (this.data.content.replace(/^\s*|\s*$/g, "") == '') {
        this.data.lock = true;
        wx.showToast({
@@ -128,6 +119,10 @@
        })
        return
      }
      if (this.data.phoneError) {
        this.data.lock = true;
        return
      }
      let submitData = {
        content: this.data.content.replace(/^\s*|\s*$/g, ""),