Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
feat: webview 【JSON.stringify】
gaoSirbfea42f8646d
diff --git a/electron/plat/xiaohongshu/index.ts b/electron/plat/xiaohongshu/index.tsindex 9477d591..6db78d8d 100644--- a/electron/plat/xiaohongshu/index.ts+++ b/electron/plat/xiaohongshu/index.ts@@ -1184,7 +1184,7 @@ export class XiaohongshuService {);// 返回结果resolve({- shareLink: `https://www.xiaohongshu.com/explore/${createRes.data.id}?xsec_token=${works!.xsec_token}&xsec_source=${works!.xsec_source}`,+ shareLink: ``,publishId: createRes.data.id,});} catch (err: any) {diff --git a/src/components/WebView/index.tsx b/src/components/WebView/index.tsxindex 1ff02a92..12dbe7b3 100644--- a/src/components/WebView/index.tsx+++ b/src/components/WebView/index.tsx@@ -39,6 +39,7 @@ const WebView = memo(useEffect(() => {console.log(cookieParams);+ console.log(JSON.stringify(cookieParams));setLoading(true);webviewRef.current?.addEventListener('dom-ready', async (e) => {