0👍
Fixed using events in the column. This is the column having calculated link:
columns:
[
{...},
{
field: 'match',
title: 'Match',
formatter (value, row) {
return `<a href="/matches/${row.pos}">${value}</a>`
},
events: {
'click a': (e, value, row, index) => {
e.preventDefault();
this.$router.push(`/matches/${row.pos}`)
}
}
},
{...}]
Here the workaround.
- [Vuejs]-How to route to dashboard after validation in vuejs
- [Vuejs]-How to DRY use a Vue.js component with multiple props and slots
Source:stackexchange.com