wjx 3 ヶ月 前
コミット
6a8a95d288
1 ファイル変更2 行追加1 行削除
  1. 2 1
      src/pages/launchSystemV3/adqv3/ad/index.tsx

+ 2 - 1
src/pages/launchSystemV3/adqv3/ad/index.tsx

@@ -42,7 +42,7 @@ const Ad: React.FC<ADQV3.AdProps> = ({ userId, creativeHandle }) => {
 
     useEffect(() => {
         getList({ pageNum: 1, pageSize: pageSize || 20, adUnitType: 'NOVEL' })
-    }, [userId, pageSize])
+    }, [userId])
 
     // 获取列表
     const getList = useCallback((params: ADQV3.GetAdListProps) => {
@@ -458,6 +458,7 @@ const Ad: React.FC<ADQV3.AdProps> = ({ userId, creativeHandle }) => {
                 }
                 newQueryForm.pageNum = current
                 newQueryForm.pageSize = pageSize
+                console.log('newQueryForm', newQueryForm)
                 setPageSize(pageSize)
                 set_queryFrom(newQueryForm)
                 getList(newQueryForm)