Browse Source

bug修改

sunlupeng 1 năm trước cách đây
mục cha
commit
f973641097
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: {