nvue 多個text超出自動換行
阿新 • • 發佈:2021-11-03
h5
richNodes(item) { return [ { name: 'div', attrs: { class: 'div-rich-nickname', style: 'color: #50c76f;display: contents;' }, children: [ { type:'text', text: item.user.nickname+':' } ] }, { name: 'div', attrs: { class: 'div-rich-comment', style:'color: #fff;display: contents;' }, children: [ { type: 'text', text: item.comment } ] } ] }
app