Skip to content

Let's use AI to Earn!

pinter

bulaienaofutuojiesenzhang6c8f2f39bd9c
diff --git a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
index 087a4f9e..c3bcbce1 100644
--- a/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
+++ b/src/components/PublishDialog/compoents/PlatParamsSetting/plats/PinterestParams.tsx
@@ -50,8 +50,8 @@ const PinterestParams = memo(
const [creatingBoard, setCreatingBoard] = useState(false);
useEffect(() => {
- getPinterestBoards();
- }, [getPinterestBoards]);
+ getPinterestBoards(false, pubItem.account.id);
+ }, [getPinterestBoards, pubItem.account.id]);
// 添加样式到页面
useEffect(() => {
@@ -129,7 +129,7 @@ const PinterestParams = memo(
message.success(t("messages.boardCreateSuccess"));
setNewBoardName("");
// 重新获取Board列表
- await getPinterestBoards(true);
+ await getPinterestBoards(true, pubItem.account.id);
} else {
message.error(t("messages.boardCreateFailed"));
}