ChenPt / dailyNote

dailyNode for myself
https://github.com/ChenPt/dailyNote/issues
0 stars 0 forks source link

2018/08/21 挖个坑,提取公共的filter组件 #30

Open ChenPt opened 5 years ago

ChenPt commented 5 years ago

采用jsx语法写。

const config = [
  {
    label: '标注',
    key: 'form.user', // 选择所对应字段名 
    tag:  'Input'  // HTML标签
    itemlist: ''  // 用于select标签

  }, {
  }
]
ChenPt commented 5 years ago

填坑失败,但是可以使用jsx来写iview的表格配置。不用写太多属性