From b77e8e776af4d81e748e9e21d51b64a11085a195 Mon Sep 17 00:00:00 2001
From: zhongshujie <2862698242@qq.com>
Date: 星期四, 19 十二月 2024 10:49:11 +0800
Subject: [PATCH] 未提交退出提示

---
 pages/personalCenter/feedBackSubmit/index.js |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/pages/personalCenter/feedBackSubmit/index.js b/pages/personalCenter/feedBackSubmit/index.js
index 462762c..33c79f8 100644
--- a/pages/personalCenter/feedBackSubmit/index.js
+++ b/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, ""),

--
Gitblit v1.9.1