Secondary encapsulation of elementUI table components. Parent-child component method transfer problem

problem description

elementUItableelement

related codes

in subcomponents

{
  label: "",
  prop: ["rentOrder", "id"],
  filter: "zeroFmt",
  filters: [
    { text: "", value: "" },
    { text: "", value: "" },
    { text: "", value: "" },
    { text: "", value: "" }
  ],
  filterMethod(value, row, column) {
    console.log(value);
  }
}

how should it be delivered in such a way that no method is accepted and there is no console output? Ask for help


you just passed the parent component method to the child component, but you haven't called it yet.
where should I execute this.filterMethod () ?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3085c-e26e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3085c-e26e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?