From 17a43a56b414901d1488be33e0e64f38c88d1c5f Mon Sep 17 00:00:00 2001 From: 18300102974 Date: Fri, 10 Mar 2023 18:13:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E6=B1=BAsearch=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FrontEnd/components/NavBar.vue | 3 +-- FrontEnd/components/home/Search.vue | 1 - FrontEnd/components/home/headerInlineSearch.vue | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/FrontEnd/components/NavBar.vue b/FrontEnd/components/NavBar.vue index c361cd6..578b3ef 100644 --- a/FrontEnd/components/NavBar.vue +++ b/FrontEnd/components/NavBar.vue @@ -46,7 +46,7 @@ :exhibitionsSearchs="exhibitionsSearchs" :servicesLocations="servicesLocations" :servicesSearchs="servicesSearchs" - @loaading="isPageLoading = true" + @loaading="isPageLoading = $event" /> @@ -651,7 +651,6 @@ :servicesLocations="servicesLocations" :servicesSearchs="servicesSearchs" :populars="populars" - @loaading="isPageLoading = true" /> = 1366) { this.$router.push(this.localePath(`/${this.type}?q=${this.inputs}`)); } diff --git a/FrontEnd/components/home/headerInlineSearch.vue b/FrontEnd/components/home/headerInlineSearch.vue index 3ac7f9c..326cb13 100644 --- a/FrontEnd/components/home/headerInlineSearch.vue +++ b/FrontEnd/components/home/headerInlineSearch.vue @@ -375,7 +375,7 @@ export default { this.$emit('loaading', true); this.$router.push(this.localePath(`/${this.type}?q=${this.inputs}`)); this.$nextTick(()=>{ - this.$emit('loaading', true); + this.$emit('loaading', false); }); }, },