wxparse如何循环解析
var leaders = res.data.leaders
for (let i = 0; i < leaders.length; i++) {
leaders[i][‘wxx’] = “{{wxParseData:contentArr” + i + “.nodes}}”
wxParse.wxParse(‘contentArr’+i, ‘html’, leaders[i].content, that);
}
1 回复