update at 2025-10-09 12:39:24
This commit is contained in:
@@ -37,7 +37,7 @@ export class PreviewManager {
|
||||
private xhsContainer: HTMLDivElement | null = null;
|
||||
|
||||
// 状态
|
||||
private currentPlatform: PlatformType = 'wechat';
|
||||
private currentPlatform: PlatformType = 'xiaohongshu';
|
||||
private currentFile: TFile | null = null;
|
||||
|
||||
constructor(container: HTMLElement, app: App, render: ArticleRender) {
|
||||
@@ -68,8 +68,8 @@ export class PreviewManager {
|
||||
// 3. 创建并构建小红书预览
|
||||
this.createXiaohongshuPreview();
|
||||
|
||||
// 4. 初始显示微信平台
|
||||
await this.switchPlatform('wechat');
|
||||
// 4. 初始显示小红书平台
|
||||
await this.switchPlatform('xiaohongshu');
|
||||
|
||||
console.log('[PreviewManager] 界面构建完成');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user