Как можно отрендерить vue template из data в ручную?
<el-table :data="testListShow">
<el-table-column
v-for="item in tableColumns"
:label="item.label"
:key="item.label"
>
<template slot-scope="scope" >
// СДЕЛАТЬ рендер темплейта с даты {{item.template}}
</template>
</el-table-column>
<el-table/>
export default {
name: "example",
data() {
return {
tableColumns: [
{
label: "Destination",
template: `<div class="table-destination">
<div v-for="item in scope.row.destination" :key="item">
{{item}}
</div>
</div>`
},
{
label: "Vendor",
template: `{{ vendors.find(current=>current.id==scope.row.vendor_id).name||'N/A' }}`
},
{
label: "Template",
template: `{{ templates.find(current=>current.id==scope.row.template_id).name||'N/A' }}`
},
{
label: "Message",
template: `{{ scope.row.message||templates.find(current=>current.id==scope.row.template_id).message }}`
},
{
label: "Sender",
template: `{{ scope.row.sender||templates.find(current=>current.id==scope.row.template_id).sender }}`
}
],
Я хочу отрендерить в v-for значение темлиты для каждой колонки таблици. Вариант сделать это без v-for не подходит