From 92a7cfe17da488b686ebec034c4793815901002f Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期二, 13 八月 2024 11:00:16 +0800
Subject: [PATCH] 1
---
pages/home/components/home-search.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/pages/home/components/home-search.vue b/pages/home/components/home-search.vue
index fdda89a..bd9798a 100644
--- a/pages/home/components/home-search.vue
+++ b/pages/home/components/home-search.vue
@@ -93,10 +93,12 @@
searchBy(clickname) {
//值一瞬间会变,引用,所以用加一个,来更改引用
var name = '' + clickname
- if (this.history.indexOf(clickname) >= 0) {
- this.history.splice(this.history.indexOf(clickname), 1)
- }
- this.history.unshift(clickname)
+ // if (this.history.indexOf(clickname) >= 0) {
+ // // this.history.splice(this.history.indexOf(clickname), 1)
+ // }else{
+
+ // }
+ // this.history.unshift(clickname)
var p = ''
if (this.type === 'flower') {
--
Gitblit v1.9.3