vue中,如果碰到调用data中变量为undefined,
第一个检测的就是你的赋值变量的大小写问题
onKeyInput(event){
this.seachList = event.target.Value;
console.log(this.seachList)
},
这里取到的值就是undefined
需要把Value变成value
vue 或者uniapp中,在方法中调用data中的变量显示结果为undefined
阅读 39
2022-04-16
vue中,如果碰到调用data中变量为undefined,
第一个检测的就是你的赋值变量的大小写问题
onKeyInput(event){
this.seachList = event.target.Value;
console.log(this.seachList)
},
这里取到的值就是undefined
需要把Value变成value
相关推荐
精彩评论(0)