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: {