From 4e9c767c3356b1879d13fee4fa89931f2bbccec7 Mon Sep 17 00:00:00 2001
From: Smile <2767057906@qq.com>
Date: Thu, 23 Jan 2025 10:01:04 +0800
Subject: [PATCH] =?UTF-8?q?bug225=20(web)=E9=A6=96=E9=A1=B5/=E6=88=91?=
 =?UTF-8?q?=E5=8F=91=E5=87=BA=E7=9A=84/=E6=88=91=E6=94=B6=E5=88=B0?=
 =?UTF-8?q?=E7=9A=84/=E6=8E=A7=E8=B4=A7=E7=AE=A1=E7=90=86=E6=9F=A5?=
 =?UTF-8?q?=E8=AF=A2=E6=9D=A1=E4=BB=B6=E2=80=9C=E7=BC=96=E5=8F=B7=E2=80=9D?=
 =?UTF-8?q?=E8=BE=93=E5=85=A5=E7=A9=BA=E6=A0=BC=E6=9F=A5=E8=AF=A2=E4=B8=8D?=
 =?UTF-8?q?=E5=88=B0=E6=95=B0=E6=8D=AE=E3=80=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/views/jiedao/profile/index.vue         | 3 +++
 src/views/jiedao/profile/postorder.vue     | 3 +++
 src/views/jiedao/profile/receivedorder.vue | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/src/views/jiedao/profile/index.vue b/src/views/jiedao/profile/index.vue
index 72f5b7b..eabad9a 100644
--- a/src/views/jiedao/profile/index.vue
+++ b/src/views/jiedao/profile/index.vue
@@ -341,6 +341,9 @@ export default {
       if (this.dynamicStatusList){
         this.queryParams.dynamicStatusList=this.dynamicStatusList
       }
+      if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){
+        this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
+      }
       getIssued(this.queryParams).then((r) => {
         this.sendOrderList = r.data.list.slice(0, 3)
       })
diff --git a/src/views/jiedao/profile/postorder.vue b/src/views/jiedao/profile/postorder.vue
index d327c65..025521f 100644
--- a/src/views/jiedao/profile/postorder.vue
+++ b/src/views/jiedao/profile/postorder.vue
@@ -273,6 +273,9 @@ export default {
       if (this.dynamicStatusList){
         this.queryParams.dynamicStatusList=this.dynamicStatusList
       }
+      if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){
+        this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
+      }
       return Object.assign({}, this.queryParams, timeParams)
     },
     exclude() {
diff --git a/src/views/jiedao/profile/receivedorder.vue b/src/views/jiedao/profile/receivedorder.vue
index 60cf9ca..8c8f142 100644
--- a/src/views/jiedao/profile/receivedorder.vue
+++ b/src/views/jiedao/profile/receivedorder.vue
@@ -188,6 +188,9 @@ export default {
       if (this.dynamicStatusList){
         this.queryParams.dynamicStatusList=this.dynamicStatusList
       }
+      if (this.queryParams.searchKey !== null && this.queryParams.searchKey !== ''){
+        this.queryParams.searchKey = this.queryParams.searchKey.replace(/\s+/g, '');
+      }
       return Object.assign({}, this.queryParams, timeParams)
     },
     isChinese() {
-- 
2.22.0