소스 검색

Merge branch 'develop' of http://git.zanxiangnet.com/wjx/ad-manage

wjx 2 년 전
부모
커밋
db27015cd3
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/pages/launchSystemNew/account/index.tsx
  2. 1 1
      src/pages/launchSystemNew/adq/adAccount/index.tsx

+ 1 - 1
src/pages/launchSystemNew/account/index.tsx

@@ -69,7 +69,7 @@ const AdAuthorize: React.FC = () => {
 
     useEffect(() => {
         getList()
-    }, [])
+    }, [queryForm])
 
     /** 获取账号列表 */
     const getList = () => {

+ 1 - 1
src/pages/launchSystemNew/adq/adAccount/index.tsx

@@ -43,7 +43,7 @@ function AdAccount(props: Props) {
     const syncAjax = useAjax((params) => putAdqAdAccountSyncByIds(params))
     useEffect(() => {
         getList(queryForm)
-    }, [accountId])
+    }, [accountId, userId])
     // 获取列表
     const getList = useCallback((params?: any) => {
         listAjax.run({ ...params, putUserId: userId })