<el-table-column
          prop="createdate"
          :formatter="dateFormat"		//这个过滤器只能使用局部过滤器
          label="日期"
          sortable
          width="180">
        </el-table-column>

如果要使用全局过滤器

<el-table-column
label="更新日期"
sortable
    >
    <!--需要在行内部自定义查插槽使用全局过滤器-->
    <template slot-scope="scope">
        <p>{{scope.row.up_date|dateFormat}}</p>		
	</template>
</el-table-column>

相关文章: