update at 2025-10-08 17:32:31
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user