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); }); }, },