refactor(widget): 移除不再使用的theme和pageSize配置参数
This commit is contained in:
@@ -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) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user