update at 2025-10-08 17:32:31

This commit is contained in:
douboer
2025-10-08 17:32:31 +08:00
parent 1c8449b04a
commit 5d32c0f5e7
14 changed files with 488 additions and 206 deletions

View File

@@ -76,9 +76,7 @@ export class XiaohongshuWebAPI implements XiaohongshuAPI {
private initializeWebview(): void {
// 创建隐藏的webview元素
this.webview = document.createElement('webview');
this.webview.style.display = 'none';
this.webview.style.width = '1200px';
this.webview.style.height = '800px';
this.webview.addClass('xhs-webview');
// 设置webview属性
this.webview.setAttribute('nodeintegration', 'false');