将zoomRatio 的滚轮事件 同时派发到 zoomRatio
const zoomRatio = document.querySelector('.zoom-ratio');
const PhotoView__Photo = document.querySelector('.PhotoView__Photo');
zoomRatio?.addEventListener('wheel', (e) => {
zoomRatioEvent.current = true;
PhotoView__Photo?.dispatchEvent(new WheelEvent('wheel', e));
});
//将zoomRatio 的滚轮事件 同时派发到 zoomRatio