dever 4 лет назад
Родитель
Сommit
b1b858faeb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pages/dream/view.vue

+ 1 - 1
pages/dream/view.vue

@@ -191,7 +191,7 @@ export default{
 			}
 		},
 		change : function(e) {
-			this.swiper.index = e.detail.current;
+			this.swiper.index = parseInt(e.detail.current);
 			//用户记录
 			this.record();
 			this.controlHandle();