|
|
@ -99,7 +99,7 @@ class TreeView { |
|
|
|
if (self.isExpanded(keyPath)) { |
|
|
|
if (self.isExpanded(keyPath)) { |
|
|
|
if (!self.expandPath.includes(keyPath)) self.expandPath.push(keyPath) |
|
|
|
if (!self.expandPath.includes(keyPath)) self.expandPath.push(keyPath) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
self.expandPath = self.expandPath.filter(path => path != keyPath) |
|
|
|
self.expandPath = self.expandPath.filter(path => path !== keyPath) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
label.oncontextmenu = function (event) { |
|
|
|
label.oncontextmenu = function (event) { |
|
|
|