dever 4 년 전
부모
커밋
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();