diff --git a/components/city-change/index.js b/components/city-change/index.js index fbe9300..22a7869 100644 --- a/components/city-change/index.js +++ b/components/city-change/index.js @@ -113,11 +113,6 @@ Component({ this.data.touchEndy = e.touches[0].pageY-this.data.topHeight; var lindex = parseInt(this.data.touchEndy / this.data.rightheight * 26);//根据前面分析获取手指触摸位置在letters中的index值 var value = this.data.letter[lindex]; - if(value){ - this.setData({ - cityListId: value - }); - } this.titleDialog(value) },