refactor(widget): 移除不再使用的theme和pageSize配置参数

This commit is contained in:
anghunk
2026-01-22 18:52:53 +08:00
parent d42fe6629f
commit 048da0e2ab

View File

@@ -88,8 +88,6 @@ async function initWidget() {
widgetInstance = new CWDComments({ widgetInstance = new CWDComments({
el: '#comments', el: '#comments',
apiBaseUrl: config.apiBaseUrl, apiBaseUrl: config.apiBaseUrl,
theme: config.theme,
pageSize: 20,
}); });
widgetInstance.mount(); widgetInstance.mount();
} catch (error) {} } catch (error) {}