huoyuhengCat
Results
1
issues of
huoyuhengCat
直接报Cannot read property '0' of undefined。还有因为用的angular,很难和你另外那个VUE picker插件结合。 代码如下: ngOnInit(){ //界面初始化 this.picker=new Picker({ data: [[{text:1,value:1}]], title: "选择阈值", selectedIndex: [0] }) } selectPicker(i){ //点击后的回调 let newData=[[{text:2,value:12}]] this.picker.refill(newData); this.picker.show(); console.log(this.picker.data) }