质保单上传整体结构
This commit is contained in:
@@ -308,8 +308,8 @@ export default {
|
||||
handleTreeNodeClick(node) {
|
||||
this.currentTreeNode = node;
|
||||
// 图表高亮并聚焦对应节点
|
||||
if (node && node.id) {
|
||||
this.highlightChartNode(node.id);
|
||||
if (node && node.warehouseId) {
|
||||
this.highlightChartNode(node.warehouseId);
|
||||
}
|
||||
},
|
||||
// 高亮并聚焦图表节点
|
||||
@@ -323,7 +323,7 @@ export default {
|
||||
});
|
||||
// 聚焦节点(自动缩放到该节点)
|
||||
this.chart.dispatchAction({
|
||||
type: 'zoomToNode',
|
||||
type: 'treemapRootToNode',
|
||||
seriesIndex: 0,
|
||||
targetNodeId: id
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user