1、将数组用二维数组输出
(输出两行,一行4个)
原数组
res.list = res.list.slice(6,14)
this.phoneList = [res.list.slice(0,4),res.list.slice(4,8)]
// 结果
(2) [Array(4), Array(4), __ob__: Observer]
0: (4) [{…}, {…}, {…}, {…}, __ob__: Observer]
1: (4) [{…}, {…}, {…}, {…}, __ob__: Observer]
html 输出