问题:描述,使用计算属性怎么样判断数组有值时,conent的文字 就不显示完,没有值时conent文字全部显示
不用那么麻烦
<span> {{Array.isArray(item.d) ? item.conent.substring(0, 1) : item.conent}} </span>