dever 4 years ago
parent
commit
b1b858faeb
1 changed files with 1 additions and 1 deletions
  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();