chenrui 4 năm trước cách đây
mục cha
commit
bf556879af
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      pages/index/index.vue

+ 2 - 3
pages/index/index.vue

@@ -43,7 +43,7 @@
 					</view>
 				</view>
 			</view>
-			<u-empty class="nodata" :text="noDataText" v-if="listdata.length==0 && status!='loading'" mode="list" :margin-top="300"></u-empty>
+			<u-empty class="nodata" :text="noDataText" v-if="listdata.length==0 && status!='loading'" mode="list"></u-empty>
 			<view class="loadmore">
 				<u-loadmore v-if="total>pageSize || status=='loading'" :status="status" />
 			</view>
@@ -80,8 +80,7 @@
 		},
 		onShow() {
 			this.openScreen = false  //  关闭筛选框
-			this.searchHandle(1)
-			this.getGoldLogTotal()
+			this.refresh({})
 		},
 		methods:{
 			//  总计