代码内容
function () {return {allChildrenLoaded: function () {var id = '#a16431758176921'var widget = $(id).widget()var fn = widget.setDataSourcewidget.setDataSource = function () {widget.options.enterAnimeTime = 0try {fn.apply(widget, arguments)} catch (e) {const contentDom = widget._element.find('.nl-content')contentDom.show()// 事件监听this.initEvent()}}},}}
使用说明
copy代码,注入容器组件,修改对应的新闻列表组件id
