outaozhen пре 5 година
родитељ
комит
b932edc2d3
1 измењених фајлова са 0 додато и 5 уклоњено
  1. 0 5
      src/pages/Customer/Contact/index.jsx

+ 0 - 5
src/pages/Customer/Contact/index.jsx

@@ -341,11 +341,6 @@ const Contact = props => {
   // }, [shouldUpdate])
 
   // 默认刷新一次列表请求数据
-  useEffect(() => {
-    if (shouldUpdate) {
-      initData()
-    }
-  }, [shouldUpdate])
 
   useEffect(() => {
     initData()