Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
必选报错
daoyianaf66fdaceb26
diff --git a/package.json b/package.jsonindex 2301c7ea..922763d5 100644--- a/package.json+++ b/package.json@@ -4,7 +4,7 @@"private": true,"scripts": {"postbuild": "next-sitemap",- "dev": "next dev",+ "dev": "next dev -p 6060","dev:local": "cross-env NEXT_PUBLIC_API_URL=http://localhost:7000/api/ next dev","build": "next build","build:copy": "tsc && next build && npm run copy-static",diff --git a/src/components/PublishDialog/hooks/usePubParamsVerify.tsx b/src/components/PublishDialog/hooks/usePubParamsVerify.tsxindex 53a14e3d..107f5ad4 100644--- a/src/components/PublishDialog/hooks/usePubParamsVerify.tsx+++ b/src/components/PublishDialog/hooks/usePubParamsVerify.tsx@@ -72,12 +72,6 @@ export default function usePubParamsVerify(data: PubItem[]) {}}- // Facebook的强制校验- if (v.account.type === PlatType.Facebook) {- if (!v.params.option.facebook?.page_id) {- return setErrorMsg(t("validation.pageRequired"));- }- }// 快手的强制校验if (v.account.type === PlatType.KWAI) {