<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>

相关文章:

  • 2022-12-23
  • 2022-01-01
  • 2021-08-20
  • 2021-06-22
  • 2022-12-23
  • 2022-02-10
  • 2022-12-23
猜你喜欢
  • 2021-05-26
  • 2022-12-23
  • 2021-08-28
  • 2021-04-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案