0
The link does not get the correct content, see code
var app = new Vue({
el: '#app',
data: {
data: [
{
url: "http://globo.com"
},
{
url: "http://uol.com"
},
{
url: "http://sbt.com"
},
],
isInsert: true,
isLoad: false,
Boleto: {
parcela: null,
due_date: null,
amount: null,
status: null,
paid_amount: null,
url: null
}
},
created: function() {
},
filters: {
},
methods: {
}
})
table, tr, td
{
border:1px solid #ccc;
padding: 1em
}
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script>
<script src="https://momentjs.com/downloads/moment.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<div id="app">
<div v-if=!isLoad>
<div class="">
<div class="table-responsive">
<table class="table table-head-solid">
<thead>
<tr>
<th>URL</th>
</tr>
</thead>
<tr v-for="row in data">
<td>
<a href={{row.url}}>Link</a>
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
What do you need? I don’t understand your question
– novic
The correct is:
<a :href="row.url">Link</a>
– Valdeir Psr