@@ -260,7 +260,7 @@
this.$refs.treeRef1.setCurrentKey(this.treeData[0].id);
});
}
- if (data) {
+ if (data.id) {
this.handleNodeClick(data);
} else {
this.total = 0;