if it"s HTML rendering, I know how to use it, but the project needs to use the elementUI framework, and a lot of things are packaged.
//
filters: {
statusFormat: function(value) {
if( value == 1){
return "";
}
else if( value == 2){
return "";
}
else if( value == 0){
return "";
}
}
}
//elementUI
<tr v-for="(item,index) in infoData">
<td>{{item.status|statusFormat}}</td>
</tr>
//elementUI
<el-table-column prop="status" label="STATUS" sortable></el-table-column>
how am I supposed to use it? it"s all sealed up.