Commit 712cb9d3 by zhaochengxiang

资产列表宽度判断

parent 518e4062
......@@ -645,9 +645,9 @@ const AssetTable = (props) => {
>
<ResizeObserver
onResize={({ width }) => {
if (width < 960 && !compact) {
if (width < 1030 && !compact) {
setCompact(true);
} else if (width >= 960 && compact) {
} else if (width >= 1030 && compact) {
setCompact(false);
}
}}
......
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