From 349754f80619eec7a6025015556409fd31e73fad Mon Sep 17 00:00:00 2001 From: hackrobot Date: Fri, 27 Sep 2024 17:42:07 +0800 Subject: [PATCH] 'test' --- src/pages/index/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index a7eb1ef..6e87ddf 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -169,7 +169,7 @@ const Index = () => { // 屏幕宽度大于 768 时,恢复默认顺序 setCityList(oldcityList); } - }, [windowWidth, cityList]); + }, [windowWidth]); return (