Bladeren bron

auto commit

gcz 4 jaren geleden
bovenliggende
commit
e073206396
1 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. 3 2
      pages/index/index.vue

+ 3 - 2
pages/index/index.vue

@@ -42,7 +42,8 @@
 				</view>
 			</view>
 		</u-card>
-
+		
+		<u-empty text="暂无停车信息" mode="list" class="u-m-t-80" v-if="!orderList"></u-empty>
 		<template v-for="(item, index) in orderList">
 			<u-card :show-foot="false" border-radius="16" margin="20rpx 40rpx" padding="30">
 				<view class="pending-order-head" slot="head">
@@ -136,7 +137,7 @@
 				
 			}
 		},
-		onLoad() {
+		onShow() {
 			this.handleGetIndexData();
 			// this.getLocation();
 			let locationLocaturl = window.location.search;