How do I delete a specific item?

for the incoming id, how to find the organguid, and delete the items equivalent to the incoming id and their children?

treeData: [{
  id: "0",
  organguid: "",
  parentguid: "",
  organname: "",
  organtype: "0",
  organDesc: "",
  children: []
}],
defaultProps: {
  children: "children",
  label: "organname"
}


this.treeData[0].children = [{
            organguid: "1",
            parentguid: "0",
            organtype: "1",
            organDesc: "",
            organname: "",
            children: [{
              organguid: "4",
              parentguid: "1",
              organtype: "2",
              organDesc: "",
              organname: ""
            }, {
              organguid: "5",
              parentguid: "1",
              organtype: "2",
              organDesc: "",
              organname: ""
            }]
          },
          {
            organguid: "2",
            parentguid: "0",
            organtype: "1",
            organDesc: "",
            organname: "",
            children: [{
              organguid: "6",
              parentguid: "2",
              organtype: "2",
              organDesc: "",
              organname: ""
            }, {
              organguid: "7",
              parentguid: "2",
              organtype: "2",
              organDesc: "",
              organname: ""
            }]
          }, {
            organguid: "3",
            parentguid: "0",
            organtype: "1",
            organDesc: "",
            organname: "",
            children: [{
              organguid: "8",
              parentguid: "3",
              organtype: "2",
              organDesc: "",
              organname: ""
            }, {
              organguid: "9",
              parentguid: "3",
              organtype: "2",
              organDesc: "",
              organname: "",
              children: [{
                organguid: "10",
                parentguid: "9",
                organtype: "3",
                organDesc: "",
                organname: ""
              }, {
                organguid: "11",
                parentguid: "9",
                organtype: "3",
                organDesc: "",
                organname: ""
              }, {
                organguid: "12",
                parentguid: "9",
                organtype: "3",
                organDesc: "",
                organname: "GRE"
              }]
            }]
          }]
Sep.09,2021

is to modify the tree node data, and the view is automatically updated. General components will provide interfaces that can be modified.
has used the tree components of element-ui and iView, but is not satisfied. I wrote a tree component myself. You can learn about it: there are examples to see in the https://github.com/Lushenggan.
project, and the source code is very simple. You can also install components into the project through npm or yarn, and the style is highly controllable.

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-1bf5e30-31fc5.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-1bf5e30-31fc5.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?