categories changed
This commit is contained in:
@@ -173,15 +173,11 @@ export default {
|
||||
|
||||
watch: {
|
||||
'$route.query'(newValue) {
|
||||
console.log('New Value:', newValue)
|
||||
console.log('New Value:', newValue.q)
|
||||
//console.log('Route changed:', this.$route.fullPath)
|
||||
//console.log('Current params:', this.$route.query)
|
||||
this.queryText = newValue.q || ''
|
||||
if (newValue.q) {
|
||||
this.updateData(newValue)
|
||||
} else {
|
||||
window.location.reload()
|
||||
}
|
||||
this.updateData(newValue)
|
||||
Object.assign(this.$data, this.$options.data())
|
||||
}
|
||||
},
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<template>
|
||||
<div class="">
|
||||
<div class="content">
|
||||
<div class="c-content">
|
||||
<section class="hero-section">
|
||||
<div class="gradient">
|
||||
<div class="content">
|
||||
@@ -46,7 +45,7 @@
|
||||
</div>
|
||||
<TextWithImageAndButton />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@@ -107,7 +106,7 @@ export default {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.content {
|
||||
.c-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user