Procházet zdrojové kódy

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

wjx před 2 roky
rodič
revize
db27015cd3

+ 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 })