outaozhen před 4 roky
rodič
revize
1353016915
1 změnil soubory, kde provedl 1 přidání a 2 odebrání
  1. 1 2
      src/pages/Hr/Notification/index.jsx

+ 1 - 2
src/pages/Hr/Notification/index.jsx

@@ -17,7 +17,6 @@ const Notification = () => {
     pageSize: 10,
     total: 0
   })
-  setState()
   // const loadMoreData = () => {
   //   if (state.message.length >= 500) {
   //     setState({ hasMore: false })
@@ -42,7 +41,7 @@ const Notification = () => {
   useEffect(() => {
     initData()
   }, [])
-  console.log(state.message.length)
+  // console.log(state.message.length)
   const loadMoreData = () => {
     if (state.total === state.message.length) {
       return