From be5699f4d8fde6f521406e43bc24bbd4f25b3b6f Mon Sep 17 00:00:00 2001 From: liyongle Date: Mon, 15 May 2023 10:28:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=A7=A9=20=E5=81=9C=E8=BD=A6?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E9=80=89=E4=B8=AD=E6=80=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PlateInput/PlateInput.vue | 5 ++++- src/components/Search/Hot.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/PlateInput/PlateInput.vue b/src/components/PlateInput/PlateInput.vue index 0e565ec..52e22a2 100644 --- a/src/components/PlateInput/PlateInput.vue +++ b/src/components/PlateInput/PlateInput.vue @@ -4,7 +4,10 @@
diff --git a/src/components/Search/Hot.vue b/src/components/Search/Hot.vue index bdd4639..d447561 100644 --- a/src/components/Search/Hot.vue +++ b/src/components/Search/Hot.vue @@ -31,7 +31,7 @@ import { useStatistics } from '@/composables/useStatistics' import ScrollView from '@/base/ScrollView/ScrollView.vue' const list = ref([]) getIndexJson().then(({ data }) => { - list.value = [] + list.value = data.hotSearch }) const store = useRootStore()