向數組中每一項添加一個新的屬性
使用$set方法,向數組中添加name屬性,后面的name為要添加的數據
this.dataDay為要遍歷的數組
this.dataDay.forEach(item => {
this.$set(item, 'name', name)
})