Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
文字描述: (1)数据以数组形式存放在根组件中,将数据传给子组件 (2)子组件接收之后利用computed进行统计计算,通过模板语法插入使用 (3)页面效果无。。。结构还存在
https://www.runoob.com/jsref/jsref-reduce.html 这是reduce的api。reduce方法记得返回上一次计算后的值
没有return