我获取到了value,但是把他push到history数组中,history里面没有值 searchinto(e) { // console.log(e) const value = this.data.search.content; const history = this.data.history; console.log(value); history.push[value]; console.log(history); this.setData({ history }) },
添加回答
举报
0/150
提交
取消