vue中,如果碰到调用data中变量为undefined,
第一个检测的就是你的赋值变量的大小写问题
onKeyInput(event){
this.seachList = event.target.Value;
console.log(this.seachList)
},
这里取到的值就是undefined
需要把Value变成value
vue中,如果碰到调用data中变量为undefined,
第一个检测的就是你的赋值变量的大小写问题
onKeyInput(event){
this.seachList = event.target.Value;
console.log(this.seachList)
},
这里取到的值就是undefined
需要把Value变成value