From 4d4a74a653e326150fccdc13d83bd69db672b100 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期三, 14 八月 2024 11:21:48 +0800 Subject: [PATCH] 1 --- pages/home/components/home-search.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pages/home/components/home-search.vue b/pages/home/components/home-search.vue index a0373a6..3f6c58c 100644 --- a/pages/home/components/home-search.vue +++ b/pages/home/components/home-search.vue @@ -100,10 +100,10 @@ if (this.history_supplier.indexOf(name) >= 0) { } else { - this..history_supplier.unshift(name) + this.history_supplier.unshift(name) } - if (this..history_supplier.length >= 10) { - this..history_supplier.splice(this..history_supplier.length - 1, 1) + if (this.history_supplier.length >= 10) { + this.history_supplier.splice(this.history_supplier.length - 1, 1) } } uni.navigateTo({ -- Gitblit v1.9.3