mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Tree: support drag and drop node (#9251)
This commit is contained in:
@@ -6,6 +6,11 @@ export default class TreeStore {
|
||||
this.currentNode = null;
|
||||
this.currentNodeKey = null;
|
||||
|
||||
this.dragSourceNode = null;
|
||||
this.dragTargetNode = null;
|
||||
this.dragTargetDom = null;
|
||||
this.allowDrop = true;
|
||||
|
||||
for (let option in options) {
|
||||
if (options.hasOwnProperty(option)) {
|
||||
this[option] = options[option];
|
||||
|
||||
Reference in New Issue
Block a user