소스 검색

跳转首页改为reLaunch,解决切换时未刷新首页问题

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

+ 1 - 1
pages/home/index.vue

@@ -287,7 +287,7 @@
 						this.list = [];
 						uni.setStorageSync('homestayId', '');
 						uni.setStorageSync('merchantId', t.merchantId);
-						uni.navigateTo({
+						uni.reLaunch({
 							url: '/pagesHouse/home/index?merchantType=' + t.merchantType
 						})
 					}