list.push(temp); | list.push(temp); | ||||
this.setData({ | this.setData({ | ||||
newsList: list, | newsList: list, | ||||
input: null | |||||
input: null, | |||||
inputShowed: true, | |||||
}) | }) | ||||
console.log(this.data.newsList, 'this.data.newsList') | console.log(this.data.newsList, 'this.data.newsList') |