소스 검색

bug修改

sunlupeng 1 년 전
부모
커밋
f973641097
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/work/index.vue

+ 1 - 1
pages/work/index.vue

@@ -41,7 +41,7 @@
 		},
 		onShow(){
 		  let option = uni.getStorageSync('option');
-		  this.initIndex = option.initIndex;
+		  this.initIndex = option.initIndex?option.initIndex:0;
 		  this.refresh();
 		},
 		methods: {