瀏覽代碼

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