|
@@ -76,12 +76,13 @@
|
|
|
handlechange(picker, value, colum){//关掉提示
|
|
|
this.showTip = false;
|
|
|
for(let i=0;i<3;i++){
|
|
|
- if(colum == 2){
|
|
|
+ if(i == 2){
|
|
|
this.columIndx[i] = unit.lastIndexOf(value[i]);
|
|
|
}else{
|
|
|
this.columIndx[i] = num.lastIndexOf(value[i]);
|
|
|
}
|
|
|
}
|
|
|
+ console.log(this.columIndx)
|
|
|
},
|
|
|
resetIndex(){//清除时复原默认index
|
|
|
this.columns[0].defaultIndex = 10;
|