update 修复设置datazoom后鼠标滚动无法滚动页面的问题
This commit is contained in:
@@ -108,15 +108,15 @@ const zoomRule = [
|
||||
zoomLock: false, // 允许缩放
|
||||
showDetail: false,
|
||||
},
|
||||
{
|
||||
type: 'inside',
|
||||
xAxisIndex: [0],
|
||||
start: 0,
|
||||
end: 2,
|
||||
zoomOnMouseWheel: false, // 鼠标滚轮缩放
|
||||
moveOnMouseMove: true, // 鼠标拖动
|
||||
moveOnMouseWheel: false, // 按住Ctrl+滚轮移动
|
||||
},
|
||||
// {
|
||||
// type: 'inside',
|
||||
// xAxisIndex: [0],
|
||||
// start: 0,
|
||||
// end: 2,
|
||||
// zoomOnMouseWheel: false, // 鼠标滚轮缩放
|
||||
// moveOnMouseMove: true, // 鼠标拖动
|
||||
// moveOnMouseWheel: false, // 按住Ctrl+滚轮移动
|
||||
// },
|
||||
];
|
||||
// 深层对象的合并
|
||||
const deepMerge = (target: any, source: any) => {
|
||||
|
||||
@@ -353,7 +353,9 @@ const initStatisticsOfSubjectStorageSpaceFun = async () => {
|
||||
const datas: any = [];
|
||||
const beforeData: any = [];
|
||||
const incrementData: any = [];
|
||||
|
||||
statisticsOfSubjectStorageSpaceFormData.nodeId = DISCIPLINE_TYPE.value.A.map(
|
||||
(item: any) => item.label
|
||||
);
|
||||
const res: any = await getNodeSizeByNodeTypeApi({
|
||||
queryNodeType: 'discipline',
|
||||
queryNodeNames: statisticsOfSubjectStorageSpaceFormData.nodeId?.join(','),
|
||||
|
||||
Reference in New Issue
Block a user