mirror of
https://github.com/ElemeFE/element.git
synced 2025-12-19 12:04:02 +08:00
Tree: add iconClass attribute (#13337)
This commit is contained in:
@@ -156,10 +156,6 @@ export default class Node {
|
||||
return getPropertyFromData(this, 'label');
|
||||
}
|
||||
|
||||
get icon() {
|
||||
return getPropertyFromData(this, 'icon');
|
||||
}
|
||||
|
||||
get key() {
|
||||
const nodeKey = this.store.key;
|
||||
if (this.data) return this.data[nodeKey];
|
||||
|
||||
Reference in New Issue
Block a user