outaozhen 5 years atrás
parent
commit
b932edc2d3
1 changed files with 0 additions and 5 deletions
  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])
   // }, [shouldUpdate])
 
 
   // 默认刷新一次列表请求数据
   // 默认刷新一次列表请求数据
-  useEffect(() => {
-    if (shouldUpdate) {
-      initData()
-    }
-  }, [shouldUpdate])
 
 
   useEffect(() => {
   useEffect(() => {
     initData()
     initData()