How does the el-table of vue bind the data to Filter?

<el-table-column prop="modifyTime" label="">
                </el-table-column>

how do you want to write with the following custom filter

//    :1415674835697 yyyy/MM/dd 
Vue.filter("timeForm",function(time){
    time =(typeof time=="string")?parseInt(time) : time
    let date=new Date(time)
    return util.formateDate(date,"yyyy/MM/dd");
});

problem description

the environmental background of the problems and what methods you have tried

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?


<el-table-column
            prop="date"
            label="">
            <template slot-scope="scope">
              {{$utils.toTimeFormat(scope.row.date)}}
            </template>
</el-table-column>

< el-table-column prop= "createDate" label= "creation time" >

                <template slot-scope="scope">
                 {{scope.row.createDate|timeForm}}
               </template>
            </el-table-column>
Menu