Vue plug-in Element ui several questions about el-tree

The node id of
  • el-tree is generated automatically, and the node id defined from the database cannot override the id, generated by this el-tree. The id, generated by this el-tree only provides the following attributes, so I need to look up the database data according to id that cannot match

clipboard.png

    The event callback function (such as node-drag-end) provided to the user after the
  • tree node is inserted automatically inserts a generated node instead of being controlled by the user
  • drag a node to the first child node of a parent node, and the bug, node is directly displayed at the parent node sibling. Only by performing the same operation again can you display normal
  • .

I don"t know if anyone has encountered such a problem or how to solve it. Thank you very much for your advice.

Mar.18,2021


Menu