Skip to content

Let's use AI to Earn!

account id

bulaienaofutuojiesenzhang2aef09f4b6b2
diff --git a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/YouTubeParams.tsx b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/YouTubeParams.tsx
index cb58bbd6..21883454 100644
--- a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/YouTubeParams.tsx
+++ b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/YouTubeParams.tsx
@@ -30,8 +30,8 @@ const YouTubeParams = memo(
);
useEffect(() => {
- getYouTubeCategories();
- }, [getYouTubeCategories]);
+ getYouTubeCategories(pubItem.account.id);
+ }, [getYouTubeCategories, pubItem.account.id]);
// 初始化YouTube参数
useEffect(() => {