loading result items with route

This commit is contained in:
2019-09-24 17:43:57 +02:00
parent 665a5154d7
commit eaa00aa244
3 changed files with 74 additions and 6 deletions
+4 -6
View File
@@ -29,12 +29,10 @@ export default {
methods: {
onclick () {
console.log('clicked on result item', this.result)
// this.$router.push({
// name:`article`,
// params: { alias:this.alias },
// query: { uuid: this.item.uuid }
// // meta: { uuid:this.item.uuid },
// })
this.$router.push({
name: `item`,
params: { uuid: this.result.uuid }
})
}
}
}