How does elementUI use the filter?

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.


<el-table-column prop="status" label="STATUS" sortable>
    <template slot-scope="scope">{{ scope.row.value==1?'':'' }}</template>
</el-table-column> 

// template
<el-table-column prop="status" label="STATUS" sortable :formatter="format"></el-table-column> 

// js
methods: {
    format (row) {
        let value = row.status
        if( value == 1){
            return '';
        }
        else if( value == 2){
            return '';
        }
        else if( value == 0){
            return '';
        }
    }
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdba8f-31280.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdba8f-31280.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?