Tree: add iconClass attribute (#13337)

This commit is contained in:
hetech
2018-11-07 19:06:36 +08:00
committed by GitHub
parent eb41032658
commit d1440c9608
7 changed files with 16 additions and 8 deletions

View File

@@ -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];