From f21977f88d46ff73c8345d85e3a9b988b2306b2b Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 14 八月 2024 11:21:03 +0800
Subject: [PATCH] 1

---
 pages/home/components/home-search.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/pages/home/components/home-search.vue b/pages/home/components/home-search.vue
index b77bacf..a0373a6 100644
--- a/pages/home/components/home-search.vue
+++ b/pages/home/components/home-search.vue
@@ -87,7 +87,9 @@
 					var p = ''
 					if (this.type === 'flower') {
 						p = 'name=' + this.search_flow
-						if (this.history_flower.indexOf(name) >= 0) {} else {
+						if (this.history_flower.indexOf(name) >= 0) {
+
+						} else {
 							this.history_flower.unshift(name)
 						}
 						if (this.history_flower.length >= 10) {
@@ -95,7 +97,9 @@
 						}
 					} else {
 						p = 'supplierName=' + this.search_flow
-						if (this.history_supplier.indexOf(name) >= 0) {} else {
+						if (this.history_supplier.indexOf(name) >= 0) {
+
+						} else {
 							this..history_supplier.unshift(name)
 						}
 						if (this..history_supplier.length >= 10) {

--
Gitblit v1.9.3