categories changed

This commit is contained in:
María
2025-09-15 11:27:46 +02:00
parent c731b65192
commit efcdf35a8c
9 changed files with 71 additions and 100 deletions

View File

@@ -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())
}
},