Commit 00a81c10 authored by 李纪文's avatar 李纪文

fix: 修改图片功能

parent eec4b542
Pipeline #81367 passed with stages
...@@ -41,7 +41,7 @@ const PrevieView = props => { ...@@ -41,7 +41,7 @@ const PrevieView = props => {
useEffect(() => { useEffect(() => {
getImgUrl(); getImgUrl();
}, [getImgUrl]); }, []);
return ( return (
<div className={classnames(styles['tab-preview'], canScroll ? styles['long-img'] : styles['normal-img'])} ref={ref}> <div className={classnames(styles['tab-preview'], canScroll ? styles['long-img'] : styles['normal-img'])} ref={ref}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment