直接代码

myColumns: [
        {
          title: '任务',
          align: 'center',
          dataIndex: 'typeName',
          filters: [],
          filterMultiple: false,
        },
      ],
this.myColumns[2].filters = this.parentData;

通过filters在mycolumns的索引位置,赋值即可

相关文章:

  • 2021-10-19
  • 2021-06-09
  • 2021-05-24
  • 2022-12-23
  • 2022-12-23
  • 2022-02-02
  • 2022-12-23
  • 2022-03-04
猜你喜欢
  • 2023-01-29
  • 2022-12-23
  • 2022-02-13
  • 2022-12-23
  • 2021-09-17
  • 2020-03-23
  • 2021-07-08
相关资源
相似解决方案