1
webwuyou 2018-03-05 13:41:52 +08:00
楼主你好,我也遇到同样的问题,刚使用 iview2,请问在表格组件中怎么使用 filter 过滤器呀
|
2
1343460872 2018-03-17 10:51:57 +08:00
orderMange.vue:
import filters from '@/views/filters'; columns1: [ { key: 'status', title: '状态', render: (h, params) => { return filters.orderState(params.row.status) } filters.js: export default { orderState(v) { return 1 } } |